| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 <html xmlns="http://www.w3.org/1999/xhtml"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 <!-- | 4 <!-- |
| 5 Copyright (c) 2009 The Native Client Authors. All rights reserved. | 5 Copyright (c) 2009 The Native Client Authors. All rights reserved. |
| 6 Use of this source code is governed by a BSD-style license that can be | 6 Use of this source code is governed by a BSD-style license that can be |
| 7 found in the LICENSE file. | 7 found in the LICENSE file. |
| 8 --> | 8 --> |
| 9 <head> | 9 <head> |
| 10 <title> Pepper Plugin Demo </title> | 10 <title> Pepper Plugin Demo </title> |
| 11 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> | 11 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> |
| 12 <META HTTP-EQUIV="Expires" CONTENT="-1" /> | 12 <META HTTP-EQUIV="Expires" CONTENT="-1" /> |
| 13 </head> | 13 </head> |
| 14 | 14 |
| 15 <body style="background-image:url(nacl.png); background-repeat:repeat;" | 15 <body style="background-image:url(nacl.png); background-repeat:repeat;" |
| 16 onload="nacllib.waitForModulesAndRunTests();" | 16 onload="nacllib.waitForModulesAndRunTests();" |
| 17 onunload="nacllib.cleanUp();"> | 17 onunload="nacllib.cleanUp();"> |
| 18 | 18 |
| 19 <p> | 19 <p> |
| 20 This page embeds a NaCl module for testing Pepper. | 20 This page embeds a NaCl module for testing Pepper. |
| 21 </p> | 21 </p> |
| 22 <table summary="Pepper Plugin 2d and 3d Demo"> | 22 <table summary="Pepper Plugin 2d and 3d Demo"> |
| 23 <tr> | 23 <tr> |
| 24 <td valign="middle" align="center" width="10%" style="background-color:Silver"> | 24 <td valign="middle" align="center" width="10%" style="background-color:Silver"> |
| 25 2D | 25 2D |
| 26 </td> | 26 </td> |
| 27 <td valign="top" width="45%"> | 27 <td valign="top" width="45%"> |
| 28 <embed name="nacl_module" | 28 <embed name="nacl_module" |
| 29 id="plugin_2d" | 29 id="plugin_2d" |
| 30 type="application/x-nacl-srpc" | 30 type="application/x-nacl" |
| 31 src="pepper_plugin.nexe" | 31 src="pepper_plugin.nexe" |
| 32 width="400" | 32 width="400" |
| 33 height="400" | 33 height="400" |
| 34 dimensions="2" /> | 34 dimensions="2" /> |
| 35 </td> | 35 </td> |
| 36 <td valign="top" style="background-color:Silver" width="45%"> | 36 <td valign="top" style="background-color:Silver" width="45%"> |
| 37 <div id="event_text_box_2d" style="width:400px; height:400px; overflow:auto"> | 37 <div id="event_text_box_2d" style="width:400px; height:400px; overflow:auto"> |
| 38 </div> | 38 </div> |
| 39 </td> | 39 </td> |
| 40 </tr> | 40 </tr> |
| 41 <tr> | 41 <tr> |
| 42 <td valign="middle" align="center" width="10%" style="background-color:Silver"> | 42 <td valign="middle" align="center" width="10%" style="background-color:Silver"> |
| 43 3D | 43 3D |
| 44 </td> | 44 </td> |
| 45 <td valign="top" width="45%"> | 45 <td valign="top" width="45%"> |
| 46 <embed name="nacl_module" | 46 <embed name="nacl_module" |
| 47 id="plugin_3d" | 47 id="plugin_3d" |
| 48 type="application/x-nacl-srpc" | 48 type="application/x-nacl" |
| 49 src="pepper_plugin.nexe" | 49 src="pepper_plugin.nexe" |
| 50 width="400" | 50 width="400" |
| 51 height="400" | 51 height="400" |
| 52 dimensions="3" /> | 52 dimensions="3" /> |
| 53 </td> | 53 </td> |
| 54 <td valign="top" style="background-color:Silver" width="45%"> | 54 <td valign="top" style="background-color:Silver" width="45%"> |
| 55 <div id="event_text_box_3d" style="width:400px; height:400px; overflow:auto"> | 55 <div id="event_text_box_3d" style="width:400px; height:400px; overflow:auto"> |
| 56 </div> | 56 </div> |
| 57 </td> | 57 </td> |
| 58 </tr> | 58 </tr> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 plugin_obj_2d.setTextBox(addLine2d); | 109 plugin_obj_2d.setTextBox(addLine2d); |
| 110 plugin_obj_3d.setTextBox(addLine3d); | 110 plugin_obj_3d.setTextBox(addLine3d); |
| 111 // Return success. | 111 // Return success. |
| 112 return ""; | 112 return ""; |
| 113 }; | 113 }; |
| 114 //]]> | 114 //]]> |
| 115 </script> | 115 </script> |
| 116 | 116 |
| 117 </body> | 117 </body> |
| 118 </html> | 118 </html> |
| OLD | NEW |