Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: tests/npapi_hw/npapi_hw.html

Issue 1092005: Issue 1092005 (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>NPAPI Simple Plug-in</title> 4 <title>NPAPI Simple Plug-in</title>
5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
6 <META HTTP-EQUIV="Expires" CONTENT="-1"> 6 <META HTTP-EQUIV="Expires" CONTENT="-1">
7 </head> 7 </head>
8 <body onload="nacllib.waitForModulesAndRunTests();" 8 <body onload="nacllib.waitForModulesAndRunTests();"
9 onunload="nacllib.cleanUp();" > 9 onunload="nacllib.cleanUp();" >
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 <h1>Native Client NPAPI Simple Plug-in</h1> 31 <h1>Native Client NPAPI Simple Plug-in</h1>
32 <p> 32 <p>
33 <button onclick="fortytwo()">Call fortytwo()</button> 33 <button onclick="fortytwo()">Call fortytwo()</button>
34 <button onclick="helloworld()">Call helloworld()</button> 34 <button onclick="helloworld()">Call helloworld()</button>
35 35
36 <embed name="nacl_module" 36 <embed name="nacl_module"
37 id="pluginobj" 37 id="pluginobj"
38 width=0 38 width=0
39 height=0 39 height=0
40 src="npapi_hw.nexe" 40 nexe="npapi_hw"
41 type="application/x-nacl-srpc" /> 41 type="application/x-nacl-srpc">
42 <noembed>
43 Your browser does not appear to support Native Client.
44 Visit http://code.google.com/p/nativeclient/ to get started.
45 <noembed/>
46 </embed>
42 </p> 47 </p>
43 48
44 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button 49 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button
45 should open a popup dialog containing <b>42</b> as value.</p> 50 should open a popup dialog containing <b>42</b> as value.</p>
46 51
47 <p> Clicking on the "Call helloworld" button 52 <p> Clicking on the "Call helloworld" button
48 should open a popup dialog containing <b>hello, world</b> as value.</p> 53 should open a popup dialog containing <b>hello, world</b> as value.</p>
49 54
50 <h2>Status</h2> 55 <h2>Status</h2>
51 <div id=status>NO-STATUS</div> 56 <div id=status>NO-STATUS</div>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 91 }
87 92
88 return ""; 93 return "";
89 }; 94 };
90 95
91 //]]> 96 //]]>
92 </script> 97 </script>
93 98
94 </body> 99 </body>
95 </html> 100 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698