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

Side by Side Diff: native_client_sdk/src/getting_started/part2/index.html

Issue 1655873003: [NaCl SDK] Cleanup references to old newlib toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_pepper_50
Patch Set: Created 4 years, 10 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2013 The Chromium Authors. All rights reserved. 4 Copyright (c) 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <meta http-equiv="Pragma" content="no-cache"> 9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1"> 10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title> 11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script> 12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script> 13 <script type="text/javascript" src="example.js"></script>
14 </head> 14 </head>
15 <!-- 15 <!--
16 For the SDK examples, we support several toolchains (e.g. PNaCl, newlib, 16 For the SDK examples, we support several toolchains (e.g. pnacl, clang-newlib,
17 GLibC). In your own code, you'll likely just choose one toolchain (probably 17 glibc). In your own code, you'll likely just choose one toolchain (probably
18 PNaCl), and load that directly. 18 pnacl), and load that directly.
19 19
20 Rather than have each example repeat the same module loading code for each 20 Rather than have each example repeat the same module loading code for each
21 toolchain it supports, we set custom data attributes on the body. Those 21 toolchain it supports, we set custom data attributes on the body. Those
22 attributes are read by common.js to determine which toolchains are supported 22 attributes are read by common.js to determine which toolchains are supported
23 for the example. 23 for the example.
24 --> 24 -->
25 <body {{attrs}}> 25 <body {{attrs}}>
26 <h1>{{title}}</h1> 26 <h1>{{title}}</h1>
27 <h2>Status: <code id="statusField">NO-STATUS</code></h2> 27 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
28 <!-- 28 <!--
29 Just as in part1, the <embed> element will be wrapped inside the <div> 29 Just as in part1, the <embed> element will be wrapped inside the <div>
30 element with the id "listener". In part1, the embed was specified in HTML, 30 element with the id "listener". In part1, the embed was specified in HTML,
31 here the common.js module creates a new <embed> element and adds it to the 31 here the common.js module creates a new <embed> element and adds it to the
32 <div> for us. 32 <div> for us.
33 --> 33 -->
34 <div id="listener"></div> 34 <div id="listener"></div>
35 35
36 <!-- 36 <!--
37 This element will be populated with the messages that come from the NaCl 37 This element will be populated with the messages that come from the NaCl
38 module. See example.js. 38 module. See example.js.
39 --> 39 -->
40 <div id="log"></div> 40 <div id="log"></div>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/getting_started/part2/README ('k') | native_client_sdk/src/gonacl_appengine/src/cube/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698