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