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

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

Issue 250063002: Browser Plugin: Simplified guest attachment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed New Window API test Created 6 years, 8 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
OLDNEW
1 <html> 1 <html>
2 <head></head> 2 <head></head>
3 <body> 3 <body>
4 4
5 <textarea id='id_message'> 5 <textarea id='id_message'>
6 </textarea> 6 </textarea>
7 7
8 <object id="plugin" 8 <object id="plugin"
9 tabindex="0" 9 tabindex="0"
10 type="application/browser-plugin" 10 type="application/browser-plugin"
(...skipping 14 matching lines...) Expand all
25 plugin.offsetTop + plugin.offsetHeight / 2]; 25 plugin.offsetTop + plugin.offsetHeight / 2];
26 } 26 }
27 27
28 function SetSrc(src) { 28 function SetSrc(src) {
29 plugin = document.getElementById('plugin'); 29 plugin = document.getElementById('plugin');
30 plugin.src = src; 30 plugin.src = src;
31 } 31 }
32 32
33 var plugin = document.getElementById('plugin'); 33 var plugin = document.getElementById('plugin');
34 plugin.addEventListener('-internal-instanceid-allocated', function(e) { 34 plugin.addEventListener('-internal-instanceid-allocated', function(e) {
35 plugin['-internal-attach']({}); 35 var detail = e.detail ? JSON.parse(e.detail) : {};
36 plugin['-internal-attach'](detail.windowId, {});
36 }); 37 });
37 </script> 38 </script>
38 39
39 </body> 40 </body>
40 </html> 41 </html>
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/mock_browser_plugin_manager.cc ('k') | content/test/data/browser_plugin_embedder.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698