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

Unified Diff: chrome/common/render_messages_internal.h

Issue 518013: Merge 32634 - Make executeScript and insertCSS inject code into all frames.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years 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/common/extensions/api/extension_api.json ('k') | chrome/renderer/render_view.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 35240)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -735,12 +735,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,
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698