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> |