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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
1 <!-- NOTE: The ids in this file must be kept in sync with AwContentsClientFullSc reenTest -->
2
1 <html> 3 <html>
2 <head> 4 <head>
3 <script src="full_screen_video.js"></script> 5 <script src="full_screen_video.js"></script>
4 </head> 6 </head>
5 <body> 7 <body>
6 </script></head><body> 8 </script></head><body>
7 <button autofocus style ='padding:1024px 1024px;' onclick="goFullscreen('div'); return false">Big enough you can't miss it</button> 9 <button id="fullscreenControl" autofocus style='padding:10px 10px;' onclick="goF ullscreen('div'); return false">Go fullscreen</button>
8 <p></p> 10 <p></p>
9 <div id='div'> 11 <div id='div'>
10 <!-- The video id must be kept in sync with VideoTestWebServer.VIDEO_ID --> 12 <button id="playControl" style='padding:10px 10px;' onclick="playVideo(); re turn false">Play</button>
11 <video style = 'width: 1px; height: 1px;' id='video'> 13 <video style = 'width: 300px; height: 300px;' id='video'>
12 <source id="webm" src="VIDEO_FILE_URL" type="video/webm"> 14 <source src="video.mp4" type="video/mp4">
13 </video> 15 </video>
14 <button style = 'width: 100%; height: 100%;' onclick="playVideo(); return fa lse">Play</button>
15 </div> 16 </div>
16 </body> 17 </body>
17 </html> 18 </html>
OLDNEW
« 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