author Dan Minor <dminor@mozilla.com>
Tue, 08 May 2018 15:55:36 -0400
changeset 419459 c13ca75c9bcb320ec2024fdead70e8e83a67bc18
parent 405341 8934930b9199c69ec3d89ff119efafda87fef38c
permissions -rw-r--r--
Bug 1450658 - Should bring window to front when screen-sharing a window; r=pehrsons This adds a FocusOnSelectedSource method to PCameras and uses it to focus the selected window while window sharing. We can't just focus the window as soon as it is shared because we have a live preview in the getUserMedia permissions prompt which would cause the prompt to lose focus. Instead, this only focuses the window when the sharing is not done from a chrome context. MozReview-Commit-ID: 5jre75E3JLi

Andreas Tolfsen <ato@sny.no> <ato@mozilla.com>
Nika Layzell <nika@thelayzells.com> Michael Layzell <michael@thelayzells.com>