| <!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" {{attrs}}> |
| <h1>{{title}}</h1> |
| <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
| <p>The VarArrayBuffer example demonstrates prompting the user for a file, |
| passing the file contents to NativeClient as a VarArrayBuffer, then |
| drawing a histogram representing the contents of the file to a 2D |
| square.</p> |
| <input type="file" id="fileInput" multiple> |
| <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| See common.js.--> |
| <div id="listener"></div> |
| </body> |
| </html> |