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

Side by Side Diff: native_client_sdk/src/examples/getting_started/hello_world/index.html

Issue 23661005: [NaCl SDK] Add a very simple getting_started example at top-level. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add hello_tutorial.nmf Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <!--
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
6 found in the LICENSE file.
7 -->
8 <head>
9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script>
14 </head>
15 <body {{attrs}}>
16 <h1>{{title}}</h1>
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18 <p>The Hello World In C example demonstrates the basic structure of all
19 Native Client applications. This example loads a Native Client module. The
20 page tracks the status of the module as it loads. On a successful load,
21 the module will post a message containing the string "Hello World" back to
22 JavaScript which will display it as an alert.</p>
23 <h2>Output:</h2>
24 <pre id="log" style="font-weight: bold"></pre>
25 <!-- The NaCl plugin will be embedded inside the element with id "listener".
26 See common.js.-->
27 <div id="listener"></div>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698