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

Unified Diff: chrome/common/render_messages_internal.h

Issue 100214: Only send events to renderers that are listening to an event.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/renderer_host/render_process_host.h ('k') | chrome/renderer/extensions/event_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 14939)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -1296,6 +1296,14 @@
std::string /* argument */,
int /* callback id */)
+ // Notify the browser that this renderer added a listener to an event.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionAddListener,
+ std::string /* name */)
+
+ // Notify the browser that this renderer removed a listener from an event.
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionRemoveListener,
+ std::string /* name */)
+
#if defined(OS_MACOSX)
// On OSX, we cannot allocated shared memory from within the sandbox, so
// this call exists for the renderer to ask the browser to allocate memory
« no previous file with comments | « chrome/browser/renderer_host/render_process_host.h ('k') | chrome/renderer/extensions/event_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698