diff options
author | tangjie@chromium.org <tangjie@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 18:27:20 +0000 |
---|---|---|
committer | tangjie@chromium.org <tangjie@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 18:27:20 +0000 |
commit | 20ad269e71dc2a920bb2dc6a71591066aa4192cf (patch) | |
tree | 162984e2e7d9fc8d95065f510e9d3aa4d8b03104 /chrome/common/render_messages_internal.h | |
parent | ee607b3e208cca332328f219f58e133a08f998d9 (diff) | |
download | chromium_src-20ad269e71dc2a920bb2dc6a71591066aa4192cf.zip chromium_src-20ad269e71dc2a920bb2dc6a71591066aa4192cf.tar.gz chromium_src-20ad269e71dc2a920bb2dc6a71591066aa4192cf.tar.bz2 |
Make executeScript and insertCSS inject code into all frames.
Patched from 401007(see http://codereview.chromium.org/401007/) to commit. Reviewed by aa and darin.
R=aa,darin
Review URL: http://codereview.chromium.org/421005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index ec9e869..618b46d 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -736,12 +736,15 @@ IPC_BEGIN_MESSAGES(View) 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, |