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

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

Issue 11360106: Browser Plugin: Implement AutoSize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 years, 1 month 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 sizeChanged(evt) {
3 document.title = "AutoSize(" + evt.newWidth + ", " + evt.newHeight + ")";
4 }
5
2 function loadAbort(evt) { 6 function loadAbort(evt) {
3 document.title = evt.type; 7 document.title = evt.type;
4 } 8 }
5 function loadStart(evt) { 9 function loadStart(evt) {
6 document.title = evt.url; 10 document.title = evt.url;
7 } 11 }
8 function loadStop(evt) { 12 function loadStop(evt) {
9 document.title = "loadStop"; 13 document.title = "loadStop";
10 } 14 }
11 15
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 98 }
95 } 99 }
96 } 100 }
97 var plugin = document.getElementById('plugin'); 101 var plugin = document.getElementById('plugin');
98 plugin.addEventListener('loadstart', loadStart); 102 plugin.addEventListener('loadstart', loadStart);
99 plugin.addEventListener('loadabort', loadAbort); 103 plugin.addEventListener('loadabort', loadAbort);
100 plugin.addEventListener('loadredirect', loadRedirect); 104 plugin.addEventListener('loadredirect', loadRedirect);
101 window.addEventListener('message', receiveMessage, false); 105 window.addEventListener('message', receiveMessage, false);
102 plugin.addEventListener('loadstop', loadStop); 106 plugin.addEventListener('loadstop', loadStop);
103 plugin.addEventListener('loadcommit', loadCommit); 107 plugin.addEventListener('loadcommit', loadCommit);
108 plugin.addEventListener('sizechanged', sizeChanged);
104 </script> 109 </script>
OLDNEW
« content/browser/renderer_host/render_view_host_impl.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698