| 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> | 3 <html> | 
| 4   <!-- Copyright 2008 Google Inc.  All rights reserved. --> | 4   <!-- Copyright 2008 Google Inc.  All rights reserved. --> | 
| 5   <head> | 5   <head> | 
| 6     <title>NPAPI Plug-in Window Test</title> | 6     <title>NPAPI Plug-in Window Test</title> | 
| 7     <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 7     <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 
| 8     <META HTTP-EQUIV="Expires" CONTENT="-1"> | 8     <META HTTP-EQUIV="Expires" CONTENT="-1"> | 
| 9     <script type="text/javascript"> | 9     <script type="text/javascript"> | 
| 10       <!-- | 10       <!-- | 
| 11 var paintInterval = null; | 11 var paintInterval = null; | 
| 12 var loadTimer = null; | 12 var loadTimer = null; | 
| 13       --> | 13       --> | 
| 14     </script> | 14     </script> | 
| 15   </head> | 15   </head> | 
| 16   <body id="bodyId" onload="doOnLoad()" onunload="doOnUnload()"> | 16   <body id="bodyId" onload="doOnLoad()" onunload="doOnUnload()"> | 
| 17 | 17 | 
| 18   <h1>Native Client NPAPI Plug-in Window Test</h1> | 18   <h1>Native Client NPAPI Plug-in Window Test</h1> | 
| 19 | 19 | 
| 20   <embed id="embed1" src="npapi_test.nexe" type="application/x-nacl-npapi" | 20   <embed id="embed1" nexe="npapi_test" type="application/x-nacl-npapi" | 
| 21          width="320" height="240" /> | 21          width="320" height="240"> | 
|  | 22     <noembed> | 
|  | 23       Your browser does not appear to support Native Client. | 
|  | 24       Visit http://code.google.com/p/nativeclient/ to get started. | 
|  | 25     <noembed/> | 
|  | 26   </embed> | 
| 22   <br /> | 27   <br /> | 
| 23   <script type="text/javascript"> | 28   <script type="text/javascript"> | 
| 24     <!-- | 29     <!-- | 
| 25 var embed1 = document.getElementById('embed1'); | 30 var embed1 = document.getElementById('embed1'); | 
| 26 | 31 | 
| 27 var PostInit = function() { | 32 var PostInit = function() { | 
| 28   if (embed1 == undefined) { | 33   if (embed1 == undefined) { | 
| 29     alert('Unable to load, try reloading page (or missing plugins?)'); | 34     alert('Unable to load, try reloading page (or missing plugins?)'); | 
| 30     return; | 35     return; | 
| 31   } | 36   } | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 65     <form name="formname"> | 70     <form name="formname"> | 
| 66       <input type=button id='playbutton' value="Play" disabled="true" | 71       <input type=button id='playbutton' value="Play" disabled="true" | 
| 67              onclick='startPaint();' /> | 72              onclick='startPaint();' /> | 
| 68       <input type=button id='stopbutton' value="Stop" disabled="false" | 73       <input type=button id='stopbutton' value="Stop" disabled="false" | 
| 69              onclick='stopPaint();' /> | 74              onclick='stopPaint();' /> | 
| 70     </form> | 75     </form> | 
| 71   <hr /> | 76   <hr /> | 
| 72 | 77 | 
| 73   </body> | 78   </body> | 
| 74 </html> | 79 </html> | 
| OLD | NEW | 
|---|