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

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

Issue 11027065: Browser plugin: Implement titleChanged event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for pages with no title 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
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_manager_impl.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
(Empty)
1 <script type="text/javascript">
2 function titleChange(evt) {
3 document.title = evt.title;
4 }
5 function SetSrc(src) {
6 var plugin = document.getElementById('plugin');
7 plugin.src = src;
8 }
9 function Back() {
10 var plugin = document.getElementById('plugin');
11 plugin.back();
12 }
13 </script>
14
15 <object id="plugin"
16 tabindex="0"
17 type="application/browser-plugin"
18 width="640"
19 height="480"
20 border="0px"></object>
21 <script type="text/javascript">
22 var plugin = document.getElementById('plugin');
23 plugin.addEventListener('titlechange', titleChange);
24 </script>
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_manager_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698