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

Side by Side Diff: native_client_sdk/src/examples/load_progress/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 <body data-width="256" data-height="256" data-custom-load="true" {{attrs}}> 15 <body data-width="256" data-height="256" data-custom-load="true" {{attrs}}>
16 <h1>{{title}}</h1> 16 <h1>{{title}}</h1>
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18 <h2>Event Log</h2> 18 <p>The Load Progress example demonstrates how to listen for and handle events
19 that occur while a NaCl module loads. This example listens for different
20 load event types and dispatches different events to their respective
21 handler. This example also checks for valid browser version and shows
22 how to calculate and display loading progress.</p>
23 <h2>Events:</h2>
24 <pre id="log" style="font-weight: bold"></pre>
19 <div id="listener"></div> 25 <div id="listener"></div>
20 <div id="log"></div>
21 </body> 26 </body>
22 </html> 27 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/load_progress/example.js ('k') | native_client_sdk/src/examples/mouselock/example.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698