diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 20:55:26 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 20:55:26 +0000 |
commit | 61ac9e2412b2915150f89d5b5bfafcf2e143af52 (patch) | |
tree | ab03be3f514aaaa93db3f6a10975d1598854808a /content/common/frame_messages.h | |
parent | 29cf75e8d19433c5a5d77f224fb5b73f7e1736d7 (diff) | |
download | chromium_src-61ac9e2412b2915150f89d5b5bfafcf2e143af52.zip chromium_src-61ac9e2412b2915150f89d5b5bfafcf2e143af52.tar.gz chromium_src-61ac9e2412b2915150f89d5b5bfafcf2e143af52.tar.bz2 |
Remove is_main_frame and some of the navigation hacks for --site-per-process.
These are no longer necessary now that we have RenderFrameHosts for all frames.
BUG=314791
TEST=Visit a cross-site iframe with --site-per-process.
R=nasko@chromium.org
Review URL: https://codereview.chromium.org/206953002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/frame_messages.h')
-rw-r--r-- | content/common/frame_messages.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h index 25c760b..1113bcd 100644 --- a/content/common/frame_messages.h +++ b/content/common/frame_messages.h @@ -76,8 +76,6 @@ IPC_STRUCT_TRAITS_END() IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) // The WebFrame's uniqueName(). IPC_STRUCT_MEMBER(base::string16, frame_unique_name) - // True if this is the top-most frame. - IPC_STRUCT_MEMBER(bool, is_main_frame) // Error code as reported in the DidFailProvisionalLoad callback. IPC_STRUCT_MEMBER(int, error_code) // An error message generated from the error_code. This can be an empty @@ -338,9 +336,8 @@ IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) // Sent when the renderer starts a provisional load for a frame. -IPC_MESSAGE_ROUTED3(FrameHostMsg_DidStartProvisionalLoadForFrame, +IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame, int32 /* parent_routing_id */, - bool /* true if it is the main frame */, GURL /* url */) // Sent when the renderer fails a provisional load with an error. @@ -362,9 +359,8 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad, // Notifies the browser that a document has been loaded. IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) -IPC_MESSAGE_ROUTED4(FrameHostMsg_DidFailLoadWithError, +IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, GURL /* validated_url */, - bool /* is_main_frame */, int /* error_code */, base::string16 /* error_description */) @@ -381,9 +377,8 @@ IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) // Notifies the browser that a frame finished loading. -IPC_MESSAGE_ROUTED2(FrameHostMsg_DidFinishLoad, - GURL /* validated_url */, - bool /* is_main_frame */) +IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, + GURL /* validated_url */) // Following message is used to communicate the values received by the // callback binding the JS to Cpp. |