summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authornasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 02:05:12 +0000
committernasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 02:05:12 +0000
commit50904457aacc2c53df5bc47465b9abd53fed1c3d (patch)
tree708cc6a8bd29937010cb6eac2469a9357e6501b7 /content/common
parent193b09392c0a87d682a4fff09399fd5e20acd7fb (diff)
downloadchromium_src-50904457aacc2c53df5bc47465b9abd53fed1c3d.zip
chromium_src-50904457aacc2c53df5bc47465b9abd53fed1c3d.tar.gz
chromium_src-50904457aacc2c53df5bc47465b9abd53fed1c3d.tar.bz2
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
Diffstat (limited to 'content/common')
-rw-r--r--content/common/view_messages.h13
1 files changed, 11 insertions, 2 deletions
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