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

Unified Diff: native_client_sdk/src/examples/hello_world_interactive/index.html

Issue 13488007: [NaCl SDK] Make the SDK examples buildable as a packaged app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license headers Created 7 years, 8 months 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: native_client_sdk/src/examples/hello_world_interactive/index.html
diff --git a/native_client_sdk/src/examples/hello_world_interactive/index.html b/native_client_sdk/src/examples/hello_world_interactive/index.html
index 44e0b30d0c6a83b851dcb731f9ce345c63d822c1..bba2379389616b2f7e089969defeb6819694e412 100644
--- a/native_client_sdk/src/examples/hello_world_interactive/index.html
+++ b/native_client_sdk/src/examples/hello_world_interactive/index.html
@@ -15,13 +15,22 @@
<body {{attrs}}>
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
- <!-- The NaCl plugin will be embedded inside the element with id "listener".
- See common.js.-->
- <div id="listener"></div>
+ <p>The Interactive Hello World C++ example demonstrates the basic structure
+ of all Native Client applications. This example loads a Native Client
+ module which uses two way interaction with JavaScript whenever a button
+ is clicked. The NaCl module will respond with the number 42 or the
+ reversed version of the string in the text box when the appropriate
+ button is clicked.</p>
<textarea id="inputBox" rows="4" cols="50">Hello World</textarea>
<div>
<button id="fortyTwo">Call fortyTwo()</button>
<button id="reverseText">Call reverseText()</button>
<div/>
+ <h2>Output:</h2>
+ <pre id="log" style="font-weight:bold"></pre>
+
+ <!-- The NaCl plugin will be embedded inside the element with id "listener".
+ See common.js.-->
+ <div id="listener"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698