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

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: 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..99734d71d3bbb465ac456b9ccbace6fdafba9def
--- /dev/null
+++ b/ppapi/examples/mouse_lock/mouse_lock.html
@@ -0,0 +1,22 @@
+<!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>
+<ul>
+ <li>Lock mouse: left click in either of the two boxes.</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>
+<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