| OLD | NEW | 
|---|
| 1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> | 
| 2 <!-- | 2 <!-- | 
| 3 Copyright (c) 2009 The Native Client Authors. All rights reserved. | 3 Copyright (c) 2009 The Native Client Authors. All rights reserved. | 
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be | 
| 5 found in the LICENSE file. | 5 found in the LICENSE file. | 
| 6 --> | 6 --> | 
| 7 <head> | 7 <head> | 
| 8 <title> Pepper Plugin Demo </title> | 8 <title> Pepper Plugin Demo </title> | 
| 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 </head> | 11 </head> | 
| 12 | 12 | 
| 13 <body style="background-image:url(nacl.png); background-repeat:repeat;" | 13 <body style="background-image:url(nacl.png); background-repeat:repeat;" | 
| 14       onload="nacllib.waitForModulesAndRunTests();" | 14       onload="nacllib.waitForModulesAndRunTests();" | 
| 15       onunload="nacllib.cleanUp();"> | 15       onunload="nacllib.cleanUp();"> | 
| 16 | 16 | 
| 17 This page embeds a NaCl module for testing Pepper. | 17 This page embeds a NaCl module for testing Pepper. | 
| 18 </p> | 18 </p> | 
| 19 <table> | 19 <table> | 
| 20 <tr> | 20 <tr> | 
| 21 <td valign="top" width="50%"> | 21 <td valign="top" width="50%"> | 
| 22   <embed name="nacl_module" | 22   <embed name="nacl_module" | 
| 23          id="plugin" | 23          id="plugin" | 
| 24          name="nacl_module" | 24          name="nacl_module" | 
| 25          type="application/x-nacl-srpc" | 25          type="application/x-nacl-srpc" | 
| 26          src="pepper_plugin.nexe" | 26          src="pepper_plugin" | 
| 27          width="400" | 27          width="400" | 
| 28          height="400" | 28          height="400" | 
| 29          dimensions="2" /> | 29          dimensions="2"> | 
|  | 30     <noembed> | 
|  | 31       Your browser does not appear to support Native Client. | 
|  | 32       Visit http://code.google.com/p/nativeclient/ to get started. | 
|  | 33     <noembed/> | 
|  | 34   </embed> | 
| 30 </td> | 35 </td> | 
| 31 <td valign="top" style="background-color:Silver" width="50%"> | 36 <td valign="top" style="background-color:Silver" width="50%"> | 
| 32 <div id="event_text_box" style="width:400px; height:400px; overflow:auto"> | 37 <div id="event_text_box" style="width:400px; height:400px; overflow:auto"> | 
| 33 </div> | 38 </div> | 
| 34 </td> | 39 </td> | 
| 35 </tr> | 40 </tr> | 
| 36 </table> | 41 </table> | 
| 37 <p> | 42 <p> | 
| 38 <div id="status">NO-STATUS</div> | 43 <div id="status">NO-STATUS</div> | 
| 39 <script type="text/javascript" src="nacl_js_lib.js"></script> | 44 <script type="text/javascript" src="nacl_js_lib.js"></script> | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 78   // Set the plugin to report events to the event log. | 83   // Set the plugin to report events to the event log. | 
| 79   plugin_obj.setTextBox(addLine); | 84   plugin_obj.setTextBox(addLine); | 
| 80   // Return success. | 85   // Return success. | 
| 81   return ""; | 86   return ""; | 
| 82 }; | 87 }; | 
| 83 //]]> | 88 //]]> | 
| 84 </script> | 89 </script> | 
| 85 | 90 | 
| 86 </body> | 91 </body> | 
| 87 </html> | 92 </html> | 
| OLD | NEW | 
|---|