- add sources.
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / examples / tutorial / load_progress / index.html
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 data-width="256" data-height="256" data-custom-load="true" {{attrs}}>
16   <h1>{{title}}</h1>
17   <h2>Status: <code id="statusField">NO-STATUS</code></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>
25   <div id="listener"></div>
26 </body>
27 </html>