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

Unified Diff: extensions/common/extension_messages.h

Issue 344433003: Prepare declarativeContent API for new script injection feature. Added Javascript types and functio… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up declarative_content.json and store RequestContentScript data in action object Created 6 years, 5 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
Index: extensions/common/extension_messages.h
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h
index ffdf7760d05c391614a216d90cb4601a2a0957ba..f8cfbd469646930c8bd8ed940989ebb9bad6eede 100644
--- a/extensions/common/extension_messages.h
+++ b/extensions/common/extension_messages.h
@@ -453,7 +453,8 @@ IPC_MESSAGE_ROUTED0(ExtensionMsg_AppWindowClosed)
// searches match the active page. This message replaces the old set of
// searches, and triggers ExtensionHostMsg_OnWatchedPageChange messages from
// each tab to keep the browser updated about changes.
-IPC_MESSAGE_CONTROL1(ExtensionMsg_WatchPages,
+IPC_MESSAGE_CONTROL2(ExtensionMsg_WatchPages,
+ std::string, /* event_name */
std::vector<std::string> /* CSS selectors */)
// Send by the browser to indicate a Blob handle has been transferred to the
@@ -660,7 +661,8 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog,
// main frame.
// * Something changed on an existing frame causing the set of matching searches
// to change.
-IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
+IPC_MESSAGE_ROUTED2(ExtensionHostMsg_OnWatchedPageChange,
+ std::string, /* event_name */
std::vector<std::string> /* Matching CSS selectors */)
// Sent by the renderer when it has received a Blob handle from the browser.

Powered by Google App Engine
This is Rietveld 408576698