15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<!DOCTYPE html>
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<html>
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<!--
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)Copyright (c) 2012 The Chromium Authors. All rights reserved.
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)Use of this source code is governed by a BSD-style license that can be
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)found in the LICENSE file.
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)-->
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)<head>
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <meta http-equiv="Pragma" content="no-cache">
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <meta http-equiv="Expires" content="-1">
112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <title>{{title}}</title>
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <script type="text/javascript" src="common.js"></script>
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)</head>
142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)<body data-width="300" data-height="300" {{attrs}}>
152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <h1>{{title}}</h1>
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <h2>Status: <code id="statusField">NO-STATUS</code></h2>
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <ul>
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    <li>There are two different kinds of fullscreen mode: "tab fullscreen" and
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)        "browser fullscreen".
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      <ul>
215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)        <li>Tab fullscreen refers to when a tab enters fullscreen mode via the
222a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)            JS or Pepper fullscreen API.  The NaCl Module will enter or
232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)            exit fullscreen when it has focus and the enter key is pressed.</li>
245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)        <li>Browser fullscreen refers to the user putting the browser itself
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)            into fullscreen mode from the UI (e.g., pressing F11).</li>
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      </ul>
275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    </li>
285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    <li>Lock mouse:
295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      <ul>
302a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)        <li>Mouse Lock refers to removing the standard mouse cursor, and
312a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)            sending mouse messages to the module even when the cursor is outside
322a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)            of the module's bounding box.  The NaCl module will enter or exit
332a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)            mouse lock by clicking on the grey box representing the bounding
342a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)            area of the module.
355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      </ul>
365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    </li>
372a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)    <li>Involuntary fullscreen or mouselock loss.
385821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      <ul>
392a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)        <li>Pressing the Esc key will cause the browser to revoke mouselock
40c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)            or tab fullscreen privilege.</li>
412a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)        <li>When in browser fullscreen, pressing F11 will also revoke mouselock
42c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)            or tab fullscreen privilege.</li>
435821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      </ul>
445821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    </li>
455821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  </ul>
462a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <p> Move the mouse cursor over the grey box to watch the captured mouse
472a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)      movement.   Notice that messages are normally not captured when the cursor
482a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)      is outside of the grey box.</p>
492a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)  <p> By clicking on the grey box, we set focus and turn on mouse lock.  Now all
502a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)      mouse messages are sent to the module.</p>
51c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)  <p> This behavior is maintained even in tab and/or browser fullscreen.</p>
525821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <!-- The NaCl plugin will be embedded inside the element with id "listener".
535821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      See common.js.-->
545821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  <div id="listener"></div>
555821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)</body>
565821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)</html>
57