diff options
author | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 19:01:52 +0000 |
---|---|---|
committer | battre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 19:01:52 +0000 |
commit | 418da61f84250c962fa0509e53f8f4213505fcac (patch) | |
tree | b98ce1e8ca8ece82e3cea5ae8beb1dab1e11f6db /content/common/resource_messages.h | |
parent | f81f5950b78f7c0161d757d91ff3a3baa96e089b (diff) | |
download | chromium_src-418da61f84250c962fa0509e53f8f4213505fcac.zip chromium_src-418da61f84250c962fa0509e53f8f4213505fcac.tar.gz chromium_src-418da61f84250c962fa0509e53f8f4213505fcac.tar.bz2 |
Provide ID of the frame that triggered an event to the webrequest extension.
BUG=79734
TEST=no
Review URL: http://codereview.chromium.org/7387012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/resource_messages.h')
-rw-r--r-- | content/common/resource_messages.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h index 1d1d51b..bd2251a 100644 --- a/content/common/resource_messages.h +++ b/content/common/resource_messages.h @@ -92,6 +92,13 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request) // True if the request was user initiated. IPC_STRUCT_MEMBER(bool, has_user_gesture) + + // True if |frame_id| is the main frame of a RenderView. + IPC_STRUCT_MEMBER(bool, is_main_frame) + + // Identifies the frame within the RenderView that sent the request. + // -1 if unknown / invalid. + IPC_STRUCT_MEMBER(int64, frame_id) IPC_STRUCT_END() // Resource messages sent from the browser to the renderer. |