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"> |
11 <title><TITLE></title> | 11 <title><TITLE></title> |
12 <script type="text/javascript" src="common.js"></script> | 12 <script type="text/javascript" src="common.js"></script> |
13 </head> | 13 </head> |
14 <body onload="common.onload('<NAME>', '<tc>', 300, 300)"> | 14 <body onload="common.onload('<NAME>', '<tc>', '<config>', 300, 300)"> |
15 <h1><TITLE></h1> | 15 <h1><TITLE></h1> |
16 <h2>Status: <code id="statusField">NO-STATUS</code></h2> | 16 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
17 <h1>Full-screen and Mouse-lock Example</h1> | 17 <h1>Full-screen and Mouse-lock Example</h1> |
18 <ul> | 18 <ul> |
19 <li>There are two different kinds of fullscreen mode: "tab fullscreen" and | 19 <li>There are two different kinds of fullscreen mode: "tab fullscreen" and |
20 "browser fullscreen". | 20 "browser fullscreen". |
21 <ul> | 21 <ul> |
22 <li>Tab fullscreen refers to when a tab enters fullscreen mode via the | 22 <li>Tab fullscreen refers to when a tab enters fullscreen mode via the |
23 JS or Pepper fullscreen API.</li> | 23 JS or Pepper fullscreen API.</li> |
24 <li>Browser fullscreen refers to the user putting the browser itself | 24 <li>Browser fullscreen refers to the user putting the browser itself |
(...skipping 26 matching lines...) Expand all Loading... |
51 </ul> | 51 </ul> |
52 <p>Clicking the mouse inside the grey square takes the NaCl module to/from | 52 <p>Clicking the mouse inside the grey square takes the NaCl module to/from |
53 combined fullscreen and mouselock mode.</p> | 53 combined fullscreen and mouselock mode.</p> |
54 <p>While in fullscreen, pressing Enter will exit/enter mouse lock mode.</p> | 54 <p>While in fullscreen, pressing Enter will exit/enter mouse lock mode.</p> |
55 | 55 |
56 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 56 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
57 See common.js.--> | 57 See common.js.--> |
58 <div id="listener"></div> | 58 <div id="listener"></div> |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |