DescriptionSupport fullscreen for non-video elements in the WebView.
When the browser receives the toggleFullscreenModeForTab
IPC we ask the app to show the custom ViewGroup (containing
a FullscreenView with the web contents in fullscreen). If
later (for the video element case) a ContentVideoView is
created then we add it to the custom ViewGroup.
The next steps (in subsequent changes) are:
1. Add tests for fullscreen for non-media elements in the
WebView.
2. Changes to ensure that the power saver blocker works
for video elements contained inside other elements.
3. Changes to ensure that scrolling works in fullscreen.
This change also removes the now unused
disallow_fullscreen_for_non_media_elements setting and
simplifies the JNI interface in ContentVideoView.
BUG=398485
Committed: https://crrev.com/3e28946a9edc2d794a894a6a4a0be965f8b62761
Cr-Commit-Position: refs/heads/master@{#299889}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Send IPC from RenderWidget.DidToggleFullscreen and removed DidEnter/ExitFullscreen #Patch Set 3 : Removed verbose comment #
Total comments: 2
Patch Set 4 : Added comment and android ifdefs #
Total comments: 3
Patch Set 5 : Do not hold ContentVideoView ref in ContentViewCore #Patch Set 6 : Remove did{Enter|Exit}Fullscreen IPCs #Patch Set 7 : Rebase #
Total comments: 4
Patch Set 8 : Ack comments #Patch Set 9 : Fix failing test #
Total comments: 2
Messages
Total messages: 40 (6 generated)
|