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

Issue 100214: Only send events to renderers that are listening to an event.... (Closed)

Created:
11 years, 7 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Only send events to renderers that are listening to an event.Notify browser when a renderer is listening to an event. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=15050

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -11 lines) Patch
M chrome/browser/extensions/extension_message_service.h View 1 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_message_service.cc View 1 2 4 chunks +33 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_messages_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/event_bindings.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/event_bindings.cc View 1 2 3 4 5 6 chunks +47 lines, -3 lines 0 comments Download
M chrome/test/render_view_test.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Erik does not do reviews
11 years, 7 months ago (2009-04-30 18:39:52 UTC) #1
Matt Perry
http://codereview.chromium.org/100214/diff/14/16 File chrome/browser/extensions/extension_message_service.cc (right): http://codereview.chromium.org/100214/diff/14/16#newcode67 Line 67: CHECK(MessageLoop::current() == MessageLoopForUI::current()); Cool, I didn't know we ...
11 years, 7 months ago (2009-04-30 19:11:40 UTC) #2
Erik does not do reviews
new snapshot ready http://codereview.chromium.org/100214/diff/14/16 File chrome/browser/extensions/extension_message_service.cc (right): http://codereview.chromium.org/100214/diff/14/16#newcode67 Line 67: CHECK(MessageLoop::current() == MessageLoopForUI::current()); On 2009/04/30 ...
11 years, 7 months ago (2009-04-30 21:29:07 UTC) #3
Matt Perry
LG. 2 suggestions http://codereview.chromium.org/100214/diff/1025/32 File chrome/renderer/extensions/event_bindings.cc (right): http://codereview.chromium.org/100214/diff/1025/32#newcode29 Line 29: return (data->listener_count[event_name] += 1); ++foo? ...
11 years, 7 months ago (2009-04-30 21:34:03 UTC) #4
Erik does not do reviews
It turns out that I had broken the ExtensionMessagesOpenChannel unit test by depending on RenderThread::current(). ...
11 years, 7 months ago (2009-05-01 00:17:45 UTC) #5
Matt Perry
http://codereview.chromium.org/100214/diff/55/59 File chrome/renderer/extensions/event_bindings.cc (right): http://codereview.chromium.org/100214/diff/55/59#newcode19 Line 19: static RenderThreadBase* kRenderThread = NULL; This is not ...
11 years, 7 months ago (2009-05-01 00:22:05 UTC) #6
Erik does not do reviews
http://codereview.chromium.org/100214/diff/55/59 File chrome/renderer/extensions/event_bindings.cc (right): http://codereview.chromium.org/100214/diff/55/59#newcode19 Line 19: static RenderThreadBase* kRenderThread = NULL; On 2009/05/01 00:22:05, ...
11 years, 7 months ago (2009-05-01 00:31:28 UTC) #7
Matt Perry
11 years, 7 months ago (2009-05-01 00:34:01 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698