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

Side by Side Diff: android_webview/test/shell/assets/visual_state_during_fullscreen_test.html

Issue 941713002: [WebView] Tests for visual state during fullscreen transitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@breakSwapIfNoUpdates
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function enterFullscreen() {
5 var div = document.getElementById("mydiv");
6 div.webkitRequestFullScreen();
7 div.addEventListener("webkitfullscreenchange", function(){
8 div.style.height = "100%";
9 div.style.width = "100%";
10 div.style.backgroundColor = "red";
11 jsObserver.notifyJava();
12 });
13 }
14 </script>
15 <style>
16 body {
17 margin: 0px;
18 padding: 0px;
19 }
20 #enterFullscreenControl {
21 height: 100%;
22 width: 100%;
23 padding: 0px 0px;
24 background-color: blue;
25 }
26 </style>
27 </head>
28 <body>
29 <button id="enterFullscreenControl" autofocus onclick="enterFullscreen(); return false">
30 <div id="mydiv"></div>
31 </button>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/util/GraphicsTestUtils.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698