Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: examples/index_staging.html

Issue 8510041: Add a mouselock example. (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: examples/index_staging.html
===================================================================
--- examples/index_staging.html (revision 1358)
+++ examples/index_staging.html (working copy)
@@ -29,7 +29,7 @@
<dl>
<dt><a href="hello_world_c/hello_world_c.html">Hello World in C</a></dt>
<dd>The Hello World In C example demonstrates the basic structure of all Native Client applications. This example loads a Native Client module and responds to button click events by showing alert panels.
-
+
<p>Teaching focus: Basic HTML, JavaScript, and module architecture; Messaging API.</p>
</dd>
<dt><a href="hello_world/hello_world.html">Hello World in C++</a></dt>
@@ -39,9 +39,9 @@
</dd>
<dt><a href="load_progress/load_progress.html">Load Progress</a></dt>
<dd> The Load Progress example demonstrates how to listen for and handle events that occur while a
- NaCl module loads. This example listens for different load event types and dispatches different events to their respective handler. This example also checks for valid browser
+ NaCl module loads. This example listens for different load event types and dispatches different events to their respective handler. This example also checks for valid browser
version and shows how to calculate and display loading progress.
-
+
<p>Teaching focus: Progress event handling.</p>
</dd>
<dt><a href="pi_generator/pi_generator.html">Pi Generator</a></dt>
@@ -53,26 +53,26 @@
</dd>
<dt><a href="input_events/input_events.html">Input Events</a></dt>
<dd> The Input Events example demonstrates how to handle events triggered by the user. This example allows a user
- to interact with a square representing a module instance. Events are displayed on the screen as the user clicks, scrolls, types, inside or outside
+ to interact with a square representing a module instance. Events are displayed on the screen as the user clicks, scrolls, types, inside or outside
of the square.
-
+
<p>Teaching focus: Keyboard and mouse input, view change, and focus events.</p>
</dd>
<dt><a href="sine_synth/sine_synth.html">Sine Wave Synthesizer</a></dt>
<dd> The Sine Wave Synthesizer example demonstrates playing sound (a sine wave).
-
+
<p>Teaching focus: Audio.</p>
</dd>
<dt><a href="pong/pong.html">Pong</a></dt>
<dd> The Pong example demonstrates how to create a basic 2D video game and how to store application
- information in a local persistent file. This game uses up and
+ information in a local persistent file. This game uses up and
down arrow keyboard input events to move the paddle.
-
+
<p>Teaching focus: File I/O, 2D graphics, input events.</p>
</dd>
<dt><a href="geturl/geturl.html">Get URL</a></dt>
<dd> The Get URL example demonstrates fetching an URL and then displaying its contents.
-
+
<p>Teaching focus: URL loading.</p>
</dd>
<dt><a href="multithreaded_input_events/mt_input_events.html">Multi-threaded Input Events</a></dt>
@@ -90,7 +90,7 @@
OpenGL ES. The JavaScript implements a virtual trackball interface to
map mouse movements into 3D rotations using simple 3D vector math and
quaternions.
-
+
<p>Teaching focus: 3D graphics</p>
</dd>
<dt><a href="fullscreen_tumbler/fullscreen_tumbler.html">Full-screen Tumbler</a></dt>
@@ -98,9 +98,16 @@
full-screen display. It is in every way identical to Tumbler in
functionality, except that it adds the ability to switch to/from
full-screen display by pressing the Enter key.
-
- <p>Teaching focus: switching to/from full-screen display</p>
+
+ <p>Teaching focus: Full-screen</p>
</dd>
+ <dt><a href="mouselock/mouselock.html">Mouse Locker</a></dt>
+ <dd> The Mouselock example demonstrates how to use the MouseLock API to hide
+ the mouse cursor. Mouse lock is only available in full-screen mode. You can
+ lock and unlock the mouse while in full-screen mode by pressing the Enter key.
+
+ <p>Teaching focus: Mouse lock, Full-screen</p>
+ </dd>
</dl>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698