| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <!-- | 3 <!-- |
| 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. | 6 found in the LICENSE file. |
| 7 --> | 7 --> |
| 8 <head> | 8 <head> |
| 9 <meta http-equiv="Pragma" content="no-cache"> | 9 <meta http-equiv="Pragma" content="no-cache"> |
| 10 <meta http-equiv="Expires" content="-1"> | 10 <meta http-equiv="Expires" content="-1"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 <li>Mouse Lock refers to removing the standard mouse cursor, and | 31 <li>Mouse Lock refers to removing the standard mouse cursor, and |
| 32 sending mouse messages to the module even when the cursor is outside | 32 sending mouse messages to the module even when the cursor is outside |
| 33 of the module's bounding box. The NaCl module will enter or exit | 33 of the module's bounding box. The NaCl module will enter or exit |
| 34 mouse lock by clicking on the grey box representing the bounding | 34 mouse lock by clicking on the grey box representing the bounding |
| 35 area of the module. | 35 area of the module. |
| 36 </ul> | 36 </ul> |
| 37 </li> | 37 </li> |
| 38 <li>Involuntary fullscreen or mouselock loss. | 38 <li>Involuntary fullscreen or mouselock loss. |
| 39 <ul> | 39 <ul> |
| 40 <li>Pressing the Esc key will cause the browser to revoke mouselock | 40 <li>Pressing the Esc key will cause the browser to revoke mouselock |
| 41 or tab fullscreen priviledge.</li> | 41 or tab fullscreen privilege.</li> |
| 42 <li>When in browser fullscreen, pressing F11 will also revoke mouselock | 42 <li>When in browser fullscreen, pressing F11 will also revoke mouselock |
| 43 or tab fullscreen priviledge.</li> | 43 or tab fullscreen privilege.</li> |
| 44 </ul> | 44 </ul> |
| 45 </li> | 45 </li> |
| 46 </ul> | 46 </ul> |
| 47 <p> Move the mouse cursor over the grey box to watch the captured mouse | 47 <p> Move the mouse cursor over the grey box to watch the captured mouse |
| 48 movement. Notice that messages are normally not captured when the cursor | 48 movement. Notice that messages are normally not captured when the cursor |
| 49 is outside of the grey box.</p> | 49 is outside of the grey box.</p> |
| 50 <p> By clicking on the grey box, we set focus and turn on mouse lock. Now all | 50 <p> By clicking on the grey box, we set focus and turn on mouse lock. Now all |
| 51 mouse messages are sent to the module.</p> | 51 mouse messages are sent to the module.</p> |
| 52 <p> This behavoir is maintianed even in tab and/or browser fullscreen.</p> | 52 <p> This behavior is maintained even in tab and/or browser fullscreen.</p> |
| 53 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 53 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| 54 See common.js.--> | 54 See common.js.--> |
| 55 <div id="listener"></div> | 55 <div id="listener"></div> |
| 56 </body> | 56 </body> |
| 57 </html> | 57 </html> |
| OLD | NEW |