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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 15855010: Make ExtensionMsg_MessageInvoke run a module system function rather than a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test compile Created 7 years, 6 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/chrome_renderer.gypi ('k') | chrome/renderer/extensions/app_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 8a03307bfd58f9dada614314187bbd8adf5909c4..12200fe6112b4df682d5d8f89341c515419b494c 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -290,15 +290,17 @@ IPC_MESSAGE_ROUTED4(ExtensionMsg_Response,
ListValue /* response wrapper (see comment above) */,
std::string /* error */)
-// This message is optionally routed. If used as a control message, it
-// will call a javascript function in every registered context in the
-// target process. If routed, it will be restricted to the contexts that
-// are part of the target RenderView.
+// This message is optionally routed. If used as a control message, it will
+// call a javascript function |function_name| from module |module_name| in
+// every registered context in the target process. If routed, it will be
+// restricted to the contexts that are part of the target RenderView.
+//
// If |extension_id| is non-empty, the function will be invoked only in
// contexts owned by the extension. |args| is a list of primitive Value types
// that are passed to the function.
-IPC_MESSAGE_ROUTED4(ExtensionMsg_MessageInvoke,
+IPC_MESSAGE_ROUTED5(ExtensionMsg_MessageInvoke,
std::string /* extension_id */,
+ std::string /* module_name */,
std::string /* function_name */,
ListValue /* args */,
bool /* delivered as part of a user gesture */)
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/extensions/app_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698