| <!DOCTYPE html> |
| <html> |
| <!-- |
| Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| <head> |
| <meta http-equiv="Pragma" content="no-cache"> |
| <meta http-equiv="Expires" content="-1"> |
| <title>{{title}}</title> |
| <script type="text/javascript" src="common.js"></script> |
| <script type="text/javascript" src="example.js"></script> |
| </head> |
| <body data-width="256" data-height="256" data-custom-load="true" {{attrs}}> |
| <h1>{{title}}</h1> |
| <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
| <p>The Load Progress example demonstrates how to listen for and handle events |
| that occur while a NaCl module loads. This example listens for different |
| load event types and dispatches different events to their respective |
| handler. This example also checks for valid browser version and shows |
| how to calculate and display loading progress.</p> |
| <h2>Events:</h2> |
| <pre id="log" style="font-weight: bold"></pre> |
| <div id="listener"></div> |
| </body> |
| </html> |