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

Unified Diff: chrome/test/data/fullscreen_mouselock/fullscreen_mouselock.html

Issue 10535173: Add three fullscreen tests and three mouse lock tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/test/functional/PYAUTO_TESTS » ('j') | chrome/test/functional/fullscreen_mouselock.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/fullscreen_mouselock/fullscreen_mouselock.html
diff --git a/chrome/test/data/fullscreen_mouselock/fullscreen_mouselock.html b/chrome/test/data/fullscreen_mouselock/fullscreen_mouselock.html
index 06d7e76226c2b76979bcc6eed506cb8fc3d12edb..8bfe29e8f84da91615b460b4bf37600a384e668c 100644
--- a/chrome/test/data/fullscreen_mouselock/fullscreen_mouselock.html
+++ b/chrome/test/data/fullscreen_mouselock/fullscreen_mouselock.html
@@ -167,10 +167,16 @@ function init() {
}
});
}
+
+function goBack() {
scheib 2012/06/14 22:51:12 Init is the last function in this list of function
dyu1 2012/06/15 01:42:24 Done.
+ console.log("goBack()");
+ window.history.back()
+}
</script>
</head>
<body onload="init()" title="This tooltip should not be shown if the mouse is locked.">
<div id="container">
+ <p><a href="#anchor" id="anchor">Click</a> to access the go back button.</p>
scheib 2012/06/14 22:51:12 This link doesn't need to link to a header by the
dyu1 2012/06/15 01:42:24 Done.
<button id="enterFullscreen" onclick="enterFullscreen();">enterFullscreen() [f]</button><br>
<button id="exitFullscreen" onclick="exitFullscreen();">exitFullscreen() [x]</button><br>
<button id="lockMouse1" onclick="lockMouse1();">lockMouse1() [1]</button><br>
@@ -184,7 +190,9 @@ function init() {
<div id="lockTarget2">lockTarget2</div>
<form name="HTMLCursor" id="HTMLCursor">HTMLCursor</form>
<form name="displaytext">...</form>
+ <h3><a name="anchor">Go Back Button</a></h3>
scheib 2012/06/14 22:51:12 Cut this line.
dyu1 2012/06/15 01:42:24 Done.
+ <button id="goBack" onclick="goBack();">Back</button><br>
scheib 2012/06/14 22:51:12 s/Back/Navigate Back/; for clarity when manually v
dyu1 2012/06/15 01:42:24 Done.
</div>
- This text is outside of the container that is made fullscreen. This text should not be visible when fullscreen.
+ <p>This text is outside of the container that is made fullscreen. This text should not be visible when fullscreen.</p>
</body>
</html>
« no previous file with comments | « no previous file | chrome/test/functional/PYAUTO_TESTS » ('j') | chrome/test/functional/fullscreen_mouselock.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698