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

Unified Diff: ppapi/examples/mouse_lock/mouse_lock.html

Issue 7863003: Mouse lock implementation, including the renderer side and the Windows version of the browser side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove two tab chars. Created 9 years, 3 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: ppapi/examples/mouse_lock/mouse_lock.html
diff --git a/ppapi/examples/mouse_lock/mouse_lock.html b/ppapi/examples/mouse_lock/mouse_lock.html
new file mode 100755
index 0000000000000000000000000000000000000000..3f8841fa6f25e7c7d200f4ca90bbcce462f878be
--- /dev/null
+++ b/ppapi/examples/mouse_lock/mouse_lock.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+ <!--
+ Copyright (c) 2011 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+ -->
+<head>
+ <title>Mouse Lock Example</title>
+</head>
+
+<body title="This tooltip should not be shown if the mouse is locked.">
+<ul>
+ <li>Lock mouse: left click in either of the two boxes; or right click in
+ either of the boxes to ensure that it is focused and then press Enter key.
+ </li>
+ <li>Unlock mouse: lose focus, press Esc key, or right click.</li>
+</ul>
+<object id="plugin" type="application/x-ppapi-example-mouse-lock"
+ width="300" height="300" border="2px"></object>
+<div></div>
+<object id="plugin" type="application/x-ppapi-example-mouse-lock"
+ width="300" height="300" border="2px"></object>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698