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

Unified Diff: native_client_sdk/src/examples/hello_world/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/index.html
diff --git a/native_client_sdk/src/examples/hello_world/index.html b/native_client_sdk/src/examples/hello_world/index.html
index a91a547e6aa068057e27344db44236230677ba7d..4ed29868dddb541c8f43ffa9c79524d0d09233fe 100644
--- a/native_client_sdk/src/examples/hello_world/index.html
+++ b/native_client_sdk/src/examples/hello_world/index.html
@@ -15,22 +15,15 @@ found in the LICENSE file.
<body {{attrs}}>
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
- <p>This example demonstrates a complete NaCl PPAPI application. In
-source file hello_world.c contains the three required PPAPI functions
- PPP_InitializeModule, PPP_GetInterface, PPP_ShutdownModule which initialize
-the application, provide a string name to callback interface mapping, and
-cleanup on shutdown respectively.</p>
- <p>The example will query for the Console, PostMessage and Var interfaces to
-send a message to JavaScript which will be added to the output box. In
-addition, it will send another message to the JavaScript Console to simulate
-logging for development.</p>
-
+ <p>The Hello World In C example demonstrates the basic structure of all
+ Native Client applications. This example loads a Native Client module. The
+ page tracks the status of the module as it load. On a successful load, the
+ module will post a message containing the string "Hello World" back to
+ JavaScript which will display it as an alert.</p>
+ <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>
- <h1>OUTPUT</h1>
- <pre>
- <p><b id='outputString'></b></p>
- </pre>
</body>
</html>
« no previous file with comments | « native_client_sdk/src/examples/hello_world/example.js ('k') | native_client_sdk/src/examples/hello_world_gles/example.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698