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

Unified Diff: chrome/common/render_messages_internal.h

Issue 401007: Make executeScript and insertCSS inject code into all frames. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 1 month 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: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 32199)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -736,12 +736,15 @@
ViewType::Type /* view_type */)
// Notification that renderer should run some JavaScript code.
- IPC_MESSAGE_ROUTED4(ViewMsg_ExecuteCode,
+ IPC_MESSAGE_ROUTED5(ViewMsg_ExecuteCode,
int, /* request id */
std::string, /* id of extension which runs the scripts */
bool, /* It's true if the code is JavaScript; Otherwise
the code is CSS text. */
- std::string /* code would be executed */)
+ std::string, /* code would be executed */
+ bool /* It's true if the code would be injected into all
+ frames; Otherwise the code is only injected into
+ top main frame */)
// Returns a file handle
IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse,

Powered by Google App Engine
This is Rietveld 408576698