summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authorigsolla@chromium.org <igsolla@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-30 14:13:28 +0000
committerigsolla@chromium.org <igsolla@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-30 14:13:28 +0000
commitad5502a43aeea5a3a7fcf663541f77eb3b782486 (patch)
tree75920e046ccd4c5fb8bf0316b37e9bac8ea62272 /android_webview/test
parenta492885c22aec36c5674f71a79047ce54a33e54e (diff)
downloadchromium_src-ad5502a43aeea5a3a7fcf663541f77eb3b782486.zip
chromium_src-ad5502a43aeea5a3a7fcf663541f77eb3b782486.tar.gz
chromium_src-ad5502a43aeea5a3a7fcf663541f77eb3b782486.tar.bz2
[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
Diffstat (limited to 'android_webview/test')
-rw-r--r--android_webview/test/shell/assets/full_screen_video_test.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/android_webview/test/shell/assets/full_screen_video_test.html b/android_webview/test/shell/assets/full_screen_video_test.html
index 466a8d4..618b342 100644
--- a/android_webview/test/shell/assets/full_screen_video_test.html
+++ b/android_webview/test/shell/assets/full_screen_video_test.html
@@ -19,6 +19,7 @@ addEventListener('Loaded', function() {
</script></head><body>
<button autofocus style ='padding:1024px 1024px;' onclick="goFullscreen('video'); return false">Big enough you can't miss it</button>
<p></p>
+<!-- The video id must be kept in sync with VideoTestWebServer.VIDEO_ID -->
<video style = 'width: 10px; height: 10px;' id='video' controls>
<source id="webm" src="VIDEO_FILE_URL" type="video/webm">
</video>