Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: android_webview/test/shell/assets/full_screen_video_inside_div_test.html

Issue 639413002: [aw] Reuse WebContents PowerSaveBlocker in fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testsForPowerSaver
Patch Set: Nits Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/test/shell/assets/full_screen_video_inside_div_test.html
diff --git a/android_webview/test/shell/assets/full_screen_video_inside_div_test.html b/android_webview/test/shell/assets/full_screen_video_inside_div_test.html
index bd28e7aea9576efd2797c92c1ccb05a0d7170c21..8fe0cddaa1165786b8c99ba759eb554bee2a10d7 100644
--- a/android_webview/test/shell/assets/full_screen_video_inside_div_test.html
+++ b/android_webview/test/shell/assets/full_screen_video_inside_div_test.html
@@ -1,17 +1,18 @@
+<!-- NOTE: The ids in this file must be kept in sync with AwContentsClientFullScreenTest -->
+
<html>
<head>
<script src="full_screen_video.js"></script>
</head>
<body>
</script></head><body>
-<button autofocus style ='padding:1024px 1024px;' onclick="goFullscreen('div'); return false">Big enough you can't miss it</button>
+<button id="fullscreenControl" autofocus style='padding:10px 10px;' onclick="goFullscreen('div'); return false">Go fullscreen</button>
<p></p>
-<div id='div'>
- <!-- The video id must be kept in sync with VideoTestWebServer.VIDEO_ID -->
- <video style = 'width: 1px; height: 1px;' id='video'>
- <source id="webm" src="VIDEO_FILE_URL" type="video/webm">
+<div id='div'>
+ <button id="playControl" style='padding:10px 10px;' onclick="playVideo(); return false">Play</button>
+ <video style = 'width: 300px; height: 300px;' id='video'>
+ <source src="video.mp4" type="video/mp4">
</video>
- <button style = 'width: 100%; height: 100%;' onclick="playVideo(); return false">Play</button>
</div>
</body>
</html>
« no previous file with comments | « android_webview/test/shell/assets/full_screen_video.js ('k') | android_webview/test/shell/assets/full_screen_video_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698