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

Side by Side Diff: tests/npapi_bridge/npapi_test.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 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 Objects and Proxies</title> 6 <title>NPAPI Objects and Proxies</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 </head> 9 </head>
10 <body onload="nacllib.waitForModulesAndRunTests();" 10 <body onload="nacllib.waitForModulesAndRunTests();"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 </td> 87 </td>
88 <td align="center"> 88 <td align="center">
89 <b> canvas3 </b> <br/> 89 <b> canvas3 </b> <br/>
90 <canvas id="canvas3" width="150" height="150"></canvas> 90 <canvas id="canvas3" width="150" height="150"></canvas>
91 </td> 91 </td>
92 </tr> 92 </tr>
93 <tr> 93 <tr>
94 <td align="center"> 94 <td align="center">
95 <b> embed1 </b> <p> 95 <b> embed1 </b> <p>
96 <!-- `embed` element test --> 96 <!-- `embed` element test -->
97 <embed id="embed1" src="npapi_test.nexe" type="application/x-nacl-srpc" 97 <embed id="embed1" nexe="npapi_test" type="application/x-nacl-srpc"
98 name="nacl_module" 98 name="nacl_module"
99 width="0" height="0" 99 width="0" height="0"
100 canvas="canvas1" 100 canvas="canvas1"
101 cycle="no" /> 101 cycle="no">
102 <noembed>
103 Your browser does not appear to support Native Client.
104 Visit http://code.google.com/p/nativeclient/ to get started.
105 <noembed/>
106 </embed>
102 <input type=button value="pop up alert" disabled="true" 107 <input type=button value="pop up alert" disabled="true"
103 id='button_embed1_alert' onclick='alert(embed1.bar)' /> <br/> 108 id='button_embed1_alert' onclick='alert(embed1.bar)' /> <br/>
104 <input type=button value="change canvas1 color" disabled="true" 109 <input type=button value="change canvas1 color" disabled="true"
105 id='button_embed1_fillRect' onclick='embed1.fillRect()' /> <br/> 110 id='button_embed1_fillRect' onclick='embed1.fillRect()' /> <br/>
106 <input type=button value="set proxy to canvas1" disabled="true" 111 <input type=button value="set proxy to canvas1" disabled="true"
107 id='button_embed1_setProxy' onclick='embed1.setProxy()' /> <br/> 112 id='button_embed1_setProxy' onclick='embed1.setProxy()' /> <br/>
108 <input type=button value="change proxied canvas color" disabled="true" 113 <input type=button value="change proxied canvas color" disabled="true"
109 id='button_embed1_useProxy' onclick='embed1.useProxy()' /> 114 id='button_embed1_useProxy' onclick='embed1.useProxy()' />
110 </td> 115 </td>
111 <td align="center"> 116 <td align="center">
112 <b> embed2 </b> <p> 117 <b> embed2 </b> <p>
113 <!-- `embed` element test --> 118 <!-- `embed` element test -->
114 <embed id="embed2" src="npapi_test.nexe" type="application/x-nacl-srpc" 119 <embed id="embed2" nexe="npapi_test" type="application/x-nacl-srpc"
115 name="nacl_module" 120 name="nacl_module"
116 width="0" height="0" 121 width="0" height="0"
117 canvas="canvas2" 122 canvas="canvas2"
118 cycle="no" /> 123 cycle="no">
124 <noembed>
125 Your browser does not appear to support Native Client.
126 Visit http://code.google.com/p/nativeclient/ to get started.
127 <noembed/>
128 </embed>
119 <input type=button value="pop up alert" disabled="true" 129 <input type=button value="pop up alert" disabled="true"
120 id='button_embed2_alert' onclick='alert(embed2.bar)' /> <br/> 130 id='button_embed2_alert' onclick='alert(embed2.bar)' /> <br/>
121 <input type=button value="change canvas2 color" disabled="true" 131 <input type=button value="change canvas2 color" disabled="true"
122 id='button_embed2_fillRect' onclick='embed2.fillRect()' /> <br/> 132 id='button_embed2_fillRect' onclick='embed2.fillRect()' /> <br/>
123 <input type=button value="set proxy to canvas2" disabled="true" 133 <input type=button value="set proxy to canvas2" disabled="true"
124 id='button_embed2_setProxy' onclick='embed2.setProxy()' /> <br/> 134 id='button_embed2_setProxy' onclick='embed2.setProxy()' /> <br/>
125 <input type=button value="change proxied canvas color" disabled="true" 135 <input type=button value="change proxied canvas color" disabled="true"
126 id='button_embed2_useProxy' onclick='embed2.useProxy()' /> 136 id='button_embed2_useProxy' onclick='embed2.useProxy()' />
127 </td> 137 </td>
128 <td align="center"> 138 <td align="center">
129 <b> embed3 </b> <p> 139 <b> embed3 </b> <p>
130 <!-- `embed` element test --> 140 <!-- `embed` element test -->
131 <embed id="embed3" src="npapi_test.nexe" type="application/x-nacl-srpc" 141 <embed id="embed3" nexe="npapi_test" type="application/x-nacl-srpc"
132 name="nacl_module" 142 name="nacl_module"
133 width="0" height="0" 143 width="0" height="0"
134 canvas="canvas3" 144 canvas="canvas3"
135 cycle="auto" /> 145 cycle="auto">
146 <noembed>
147 Your browser does not appear to support Native Client.
148 Visit http://code.google.com/p/nativeclient/ to get started.
149 <noembed/>
150 </embed>
136 <input type=button value="stop color cyling on canvas3" 151 <input type=button value="stop color cyling on canvas3"
137 disabled="true" 152 disabled="true"
138 id='button_embed3_cyclingOff' onclick='embed3.cycling(0)' /> 153 id='button_embed3_cyclingOff' onclick='embed3.cycling(0)' />
139 <br/> 154 <br/>
140 <input type=button value="start color cyling on canvas3" 155 <input type=button value="start color cyling on canvas3"
141 disabled="true" 156 disabled="true"
142 id='button_embed3_cyclingOn' onclick='embed3.cycling(1)' /> 157 id='button_embed3_cyclingOn' onclick='embed3.cycling(1)' />
143 </td> 158 </td>
144 </tr> 159 </tr>
145 <tr> 160 <tr>
(...skipping 10 matching lines...) Expand all
156 <div id="status">NO-STATUS</div> 171 <div id="status">NO-STATUS</div>
157 <div> 172 <div>
158 <em> 173 <em>
159 Note: Display canvas3 should change color about once every second, 174 Note: Display canvas3 should change color about once every second,
160 as embed3 demonstrates NPN_PluginThreadAsyncCall. 175 as embed3 demonstrates NPN_PluginThreadAsyncCall.
161 </em> 176 </em>
162 </div> 177 </div>
163 178
164 </body> 179 </body>
165 </html> 180 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698