[Android WebView] Support for fullscreen video with html controls.
commitad5502a43aeea5a3a7fcf663541f77eb3b782486
authorigsolla@chromium.org <igsolla@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 30 Jun 2014 14:13:28 +0000 (30 14:13 +0000)
committerigsolla@chromium.org <igsolla@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 30 Jun 2014 14:13:28 +0000 (30 14:13 +0000)
tree75920e046ccd4c5fb8bf0316b37e9bac8ea62272
parenta492885c22aec36c5674f71a79047ce54a33e54e
[Android WebView] Support for fullscreen video with html controls.

Note: this patch only adds the implementation behind a flag,
and it does not enable this feature yet.

In fullscreen mode we render the AwContents (ie. the html controls) in a
FullscreenView instead of the WebView. We place this FullscreenView above
the ContentVideoView.

This is a follow-up cl to:
https://codereview.chromium.org/315973004/

We currently don't support scrolling in fullscreen mode as it is not needed
for video.

BUG=385121

Review URL: https://codereview.chromium.org/320273002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280593 0039d316-1c4b-4281-b951-d872f2087c98
19 files changed:
android_webview/browser/browser_view_renderer.cc
android_webview/browser/browser_view_renderer.h
android_webview/browser/hardware_renderer.cc
android_webview/browser/shared_renderer_state.cc
android_webview/browser/shared_renderer_state.h
android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java
android_webview/java/src/org/chromium/android_webview/AwContents.java
android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java
android_webview/java/src/org/chromium/android_webview/AwViewMethods.java
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
android_webview/java/src/org/chromium/android_webview/FullScreenView.java [new file with mode: 0644]
android_webview/java/src/org/chromium/android_webview/NullAwViewMethods.java [new file with mode: 0644]
android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenVideoTest.java
android_webview/javatests/src/org/chromium/android_webview/test/FullScreenVideoTestAwContentsClient.java
android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java
android_webview/native/aw_contents.cc
android_webview/native/aw_contents.h
android_webview/test/shell/assets/full_screen_video_test.html
content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java