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

Issue 11027065: Browser plugin: Implement titleChanged event. (Closed)

Created:
8 years, 2 months ago by Charlie Reis
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Browser plugin: Implement titleChanged event. BUG=154166 TEST=browserTag.addEventListener('titleChanged', f);

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment and Windows compile. #

Total comments: 6

Patch Set 3 : Temporary: fails expanded test. #

Patch Set 4 : Fix for pages with no title #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -1 line) Patch
M chrome/test/data/extensions/platform_apps/web_view/main.js View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 5 chunks +24 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M content/common/browser_plugin_messages.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 chunks +24 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_embedder_titlechange.html View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Charlie Reis
Fady, can you take a look?
8 years, 2 months ago (2012-10-05 17:22:14 UTC) #1
Fady Samuel
LGTM + 1 nit. https://codereview.chromium.org/11027065/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11027065/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode467 content/renderer/browser_plugin/browser_plugin.cc:467: // Construct the loadRedirect event ...
8 years, 2 months ago (2012-10-05 17:45:52 UTC) #2
Charlie Reis
https://codereview.chromium.org/11027065/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11027065/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode467 content/renderer/browser_plugin/browser_plugin.cc:467: // Construct the loadRedirect event object. On 2012/10/05 17:45:52, ...
8 years, 2 months ago (2012-10-05 19:20:48 UTC) #3
Fady Samuel
https://codereview.chromium.org/11027065/diff/6002/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11027065/diff/6002/content/renderer/browser_plugin/browser_plugin.cc#newcode472 content/renderer/browser_plugin/browser_plugin.cc:472: v8::String::New(UTF16ToUTF8(title).c_str(), UTF16ToUTF8(title).size())); On 2012/10/05 19:20:48, creis wrote: > Can ...
8 years, 2 months ago (2012-10-05 19:53:29 UTC) #4
Charlie Reis
https://codereview.chromium.org/11027065/diff/6002/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11027065/diff/6002/content/renderer/browser_plugin/browser_plugin.cc#newcode472 content/renderer/browser_plugin/browser_plugin.cc:472: v8::String::New(UTF16ToUTF8(title).c_str(), UTF16ToUTF8(title).size())); On 2012/10/05 19:53:30, Fady Samuel wrote: > ...
8 years, 2 months ago (2012-10-05 19:59:15 UTC) #5
abarth-chromium
https://codereview.chromium.org/11027065/diff/6002/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/11027065/diff/6002/content/renderer/browser_plugin/browser_plugin.cc#newcode464 content/renderer/browser_plugin/browser_plugin.cc:464: v8::Context::Scope context_scope(v8::Context::New()); It's very unlikely that you should create ...
8 years, 2 months ago (2012-10-05 22:10:39 UTC) #6
Fady Samuel
8 years, 2 months ago (2012-10-10 17:37:30 UTC) #7
https://codereview.chromium.org/11086025/ has landed. Please see this as an
example of how to fire off an event. More changes coming in the near future once
we figure out how we want to do events long-term.

Powered by Google App Engine
This is Rietveld 408576698