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