DescriptionEmbed Flash Fullscreen widget within browser window.
This provides users with a single, consistent fullscreen-mode experience, with Flash fullscreen gaining the improved window/desktop management behaviors of HTML5 fullscreen. This is accomplished by: 1) Modifying the browser window to insert Flash fullscreen widgets into the view hierarchy in response to "did show" notifications from WebContentsImpl; 2) Toggling browser window expansion (and user balloon pop-ups) via FullscreenController, the existing mechanism already used for HTML5 and F11 fullscreen.
Safety: This enhancement is disabled by default, requiring an --embed-flash-fullscreen command-line flag to be activated.
Testing: Confirmed Flash fullscreen works both the old way (as a separate, raw fullscreen window) and the new way (embedded within the browser window). Tested all fullscreen transitions: in-and-out, between browser F11 mode and Flash fullscreen mode, using the keyboard vs. mouse, "ALT-Tab" by the user and other window/desktop management modes, exit from balloon pop-up vs. plugin, and so on. For Flash compatibility, used IPC logging on Aura and Mac builds to confirm IPC messaging to the renderer process is identical to the old way.
Left to do: 1) GTK support. 2) Mouse-lock support.
BUG=290403
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223715
Patch Set 1 #
Total comments: 12
Patch Set 2 : Addressed review comments from sky@ and jam@. #Patch Set 3 : Reverted adding Window::SetType(NORMAL) call in render_widget_host_view_aura.cc. Does not seem to … #Patch Set 4 : Rolled WebContentsObserver into WebView. #
Total comments: 10
Patch Set 5 : Addressed rsesek's comments. #Patch Set 6 : Add FullscreenController interactive UI testing. #Patch Set 7 : Add caution comment to chrome_switches.cc. #Messages
Total messages: 34 (1 generated)
|