Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: content/common/frame_messages.h

Issue 117603002: Always create FrameTreeNodes and RenderFrameHosts for every frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add checks for allocation and insertion. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "url/gurl.h"
11 12
12 #undef IPC_MESSAGE_EXPORT 13 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 15
15 #define IPC_MESSAGE_START FrameMsgStart 16 #define IPC_MESSAGE_START FrameMsgStart
16 17
17 // Sent by the renderer when a child frame is created in the renderer. The 18 // Sent by the renderer when a child frame is created in the renderer. The
18 // |parent_frame_id| and |frame_id| are NOT routing ids. They are 19 // |parent_frame_id| and |frame_id| are NOT routing ids. They are
19 // renderer-allocated identifiers used for tracking a frame's creation. 20 // renderer-allocated identifiers used for tracking a frame's creation.
20 // 21 //
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // create a plugin. The browser will create the plugin process if 79 // create a plugin. The browser will create the plugin process if
79 // necessary, and will return a handle to the channel on success. 80 // necessary, and will return a handle to the channel on success.
80 // On error an empty string is returned. 81 // On error an empty string is returned.
81 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, 82 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin,
82 int /* render_frame_id */, 83 int /* render_frame_id */,
83 GURL /* url */, 84 GURL /* url */,
84 GURL /* page_url */, 85 GURL /* page_url */,
85 std::string /* mime_type */, 86 std::string /* mime_type */,
86 IPC::ChannelHandle /* channel_handle */, 87 IPC::ChannelHandle /* channel_handle */,
87 content::WebPluginInfo /* info */) 88 content::WebPluginInfo /* info */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698