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

Side by Side Diff: webkit/tools/pepper_test_plugin/test_page.html

Issue 367002: Added Pepper 3D render context that instantiates the GPU plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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
« no previous file with comments | « webkit/tools/pepper_test_plugin/plugin_object.cc ('k') | webkit/webkit.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <title> Pepper Plugin Demo </title> 3 <title> Pepper Plugin Demo </title>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 var event_box; 5 var event_box;
6 6
7 var addLine = function(line) { 7 var addLine = function(line) {
8 event_box.innerHTML = line + '<br>' + event_box.innerHTML; 8 event_box.innerHTML = line + '<br>' + event_box.innerHTML;
9 } 9 }
10 10
11 var runScripts = function() { 11 var runScripts = function() {
12 event_box = document.getElementById("event_text_box");; 12 event_box = document.getElementById("event_text_box");;
13 var plugin_obj = document.getElementById("plugin"); 13 var plugin_obj = document.getElementById("plugin");
14 addLine('<b>Event log</b>'); 14 addLine('<b>Event log</b>');
15 plugin_obj.setTextBox(addLine); 15 plugin_obj.setTextBox(addLine);
16 } 16 }
17 </script> 17 </script>
18 </head> 18 </head>
19 19
20 <body style="background-image:url(http://www.google.com/intl/en_ALL/images/logo. gif); background-repeat:repeat;" onload="runScripts()"> 20 <body style="background-image:url(http://www.google.com/intl/en_ALL/images/logo. gif); background-repeat:repeat;" onload="runScripts()">
21 21
22 <p> 22 <p>
23 This page embeds a file declared as the pepper test plugins MIME type so that it will get loaded for testing. 23 This page embeds a file declared as the pepper test plugins MIME type so that it will get loaded for testing.
24 </p> 24 </p>
25 <table> 25 <table>
26 <tr> 26 <tr>
27 <td valign="top" width="50%"> 27 <td valign="top" width="50%">
28 <object id="plugin" type="pepper-application/x-pepper-test-plugin" width="400" h eight="400" /> 28 <object id="plugin" type="pepper-application/x-pepper-test-plugin" width="400" h eight="400" dimensions="2" />
29 </td> 29 </td>
30 <td valign="top" style="background-color:Silver" width="50%"> 30 <td valign="top" style="background-color:Silver" width="50%">
31 <div id="event_text_box" style="width:400px; height:400px; overflow:auto"> 31 <div id="event_text_box" style="width:400px; height:400px; overflow:auto">
32 </div> 32 </div>
33 </td> 33 </td>
34 </tr> 34 </tr>
35 </table> 35 </table>
36 36
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW
« no previous file with comments | « webkit/tools/pepper_test_plugin/plugin_object.cc ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698