From 50904457aacc2c53df5bc47465b9abd53fed1c3d Mon Sep 17 00:00:00 2001 From: "nasko@chromium.org" Date: Thu, 9 May 2013 02:05:12 +0000 Subject: Create a frame tree in WebContents on the browser side. This is a small delta from the original patch at https://codereview.chromium.org/14374002/. BUG=235879 Review URL: https://chromiumcodereview.appspot.com/14580004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199087 0039d316-1c4b-4281-b951-d872f2087c98 --- content/common/view_messages.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'content/common') diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 2f3756e..0a5cc0b 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -2172,8 +2172,17 @@ IPC_MESSAGE_CONTROL3(ViewHostMsg_DidLose3DContext, content::ThreeDAPIType /* context_type */, int /* arb_robustness_status_code */) -// Notifies the browser that the frame with the given id was detached. -IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, +// This message is sent when a frame is added to the DOM. +IPC_MESSAGE_ROUTED3(ViewHostMsg_FrameAttached, + int64 /* parent_frame_id*/, + int64 /* frame_id */, + std::string /* frame_name */) + +// Notifies the browser that the frame with the given id was detached. The +// |parent_frame_id| is -1 for the top level frame, otherwise the id of the +// immediate parent of the detached frame. +IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameDetached, + int64 /* parent_frame_id */, int64 /* frame_id */) // Notifies the browser that document has parsed the body. This is used by the -- cgit v1.1