summaryrefslogtreecommitdiffstats
path: root/ppapi/examples/mouse_lock/mouse_lock.html
blob: 3f8841fa6f25e7c7d200f4ca90bbcce462f878be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>