| OLD | NEW |
| 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" {{attrs}}> | 15 <body data-width="256" data-height="256" {{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 <p>The File Histogram example demonstrates prompting the user for a file, | 18 <p>The VarArrayBuffer example demonstrates prompting the user for a file, |
| 19 passing the file contents to NativeClient as a VarArrayBuffer, then | 19 passing the file contents to NativeClient as a VarArrayBuffer, then |
| 20 drawing a histogram representing the contents of the file to a 2D | 20 drawing a histogram representing the contents of the file to a 2D |
| 21 square.</p> | 21 square.</p> |
| 22 <input type="file" id="fileInput" multiple> | 22 <input type="file" id="fileInput" multiple> |
| 23 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 23 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| 24 See common.js.--> | 24 See common.js.--> |
| 25 <div id="listener"></div> | 25 <div id="listener"></div> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |