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

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: Added a test Created 8 years, 3 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 <script type="text/javascript"> 1 <script type="text/javascript">
2 function SetSrc(src) { 2 function SetSrc(src) {
3 plugin = document.getElementById('plugin'); 3 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 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 plugin = document.getElementById('plugin');
lazyboy 2012/09/20 20:05:42 here and below: var plugin = document.getElementBy
Fady Samuel 2012/09/21 15:21:56 Done.
13 plugin.back();
14 }
15 function Forward() {
16 plugin = document.getElementById('plugin');
17 plugin.forward();
18 }
19 function Go(relativeIndex) {
20 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

Powered by Google App Engine
This is Rietveld 408576698