| 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 </head> | 13 </head> |
| 14 <body data-width="640" data-height="480" {{attrs}}> | 14 <body data-width="640" data-height="480" {{attrs}}> |
| 15 <h1>{{title}}</h1> | 15 <h1>{{title}}</h1> |
| 16 <h2>Status: <code id="statusField">NO-STATUS</code></h2> | 16 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
| 17 <p> |
| 18 The Hello World instance3d example is similar to the Hello World GLES 2.0 |
| 19 example, but uses the ppapi_main and nacl_io libraries to simplify the code: |
| 20 <ul> |
| 21 <li>URL loading is handled by a synchronous read from an HTTP mount.</li> |
| 22 <li>Instance creation is hidden; instead the functions ppapi_main and |
| 23 PPAPIRender are used.</li> |
| 24 </ul> |
| 25 </p> |
| 17 <!-- The NaCl plugin will be embedded inside the element with id "listener". | 26 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| 18 See common.js.--> | 27 See common.js.--> |
| 19 <div id="listener"></div> | 28 <div id="listener"></div> |
| 20 </body> | 29 </body> |
| 21 </html> | 30 </html> |
| OLD | NEW |