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

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

Issue 11046002: Browser Plugin: Fixed browser process crash on embedder reload. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alternative behavior to match Istiaque's previous implementation of NavigateGuest 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
OLDNEW
1 <script type="text/javascript"> 1 <script type="text/javascript">
2 function SetSrc(src) { 2 function SetSrc(src) {
3 var 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 var 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() { 11 function Back() {
12 var plugin = document.getElementById('plugin'); 12 var plugin = document.getElementById('plugin');
13 plugin.back(); 13 plugin.back();
14 } 14 }
15 function Forward() { 15 function Forward() {
16 var plugin = document.getElementById('plugin'); 16 var plugin = document.getElementById('plugin');
17 plugin.forward(); 17 plugin.forward();
18 } 18 }
19 function Go(relativeIndex) { 19 function Go(relativeIndex) {
20 var plugin = document.getElementById('plugin'); 20 var plugin = document.getElementById('plugin');
21 plugin.go(relativeIndex); 21 plugin.go(relativeIndex);
22 } 22 }
23 function MarkAsReady() {
24 window.document.title = 'ready';
25 }
26
27 window.document.title = 'embedder';
23 </script> 28 </script>
24 29
25 <object id="plugin" 30 <object id="plugin"
26 tabindex="0" 31 tabindex="0"
27 type="application/new-browser-plugin" 32 type="application/new-browser-plugin"
28 width="640" 33 width="640"
29 height="480" 34 height="480"
30 border="0px"></object> 35 border="0px"></object>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698