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

Side by Side Diff: content/test/data/browser_plugin_embedder.html

Issue 10960003: Browser Plugin: Implement Back, Forward, and Go. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT Created 8 years, 2 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
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_bindings.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script type="text/javascript"> 1 <script type="text/javascript">
2 function SetSrc(src) { 2 function SetSrc(src) {
3 plugin = document.getElementById('plugin'); 3 var plugin = document.getElementById('plugin');
4 plugin.src = src; 4 plugin.src = src;
5 } 5 }
6 function SetSize(w, h) { 6 function SetSize(w, h) {
7 plugin = document.getElementById('plugin'); 7 var plugin = document.getElementById('plugin');
8 plugin.width = w; 8 plugin.width = w;
9 plugin.height = h; 9 plugin.height = h;
10 } 10 }
11 function Back() {
12 var plugin = document.getElementById('plugin');
13 plugin.back();
14 }
15 function Forward() {
16 var plugin = document.getElementById('plugin');
17 plugin.forward();
18 }
19 function Go(relativeIndex) {
20 var plugin = document.getElementById('plugin');
21 plugin.go(relativeIndex);
22 }
11 </script> 23 </script>
12 24
13 <object id="plugin" 25 <object id="plugin"
14 tabindex="0" 26 tabindex="0"
15 type="application/new-browser-plugin" 27 type="application/new-browser-plugin"
16 width="640" 28 width="640"
17 height="480" 29 height="480"
18 border="0px"></object> 30 border="0px"></object>
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698