Chromium Code Reviews| Index: content/common/frame_messages.h |
| diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
| index 03471701ca785efa756754b416d694cd7ff40c2a..b879fecfdf2cd7d15bab81ee3d96114f18958164 100644 |
| --- a/content/common/frame_messages.h |
| +++ b/content/common/frame_messages.h |
| @@ -292,27 +292,18 @@ IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) |
| // ----------------------------------------------------------------------------- |
| // Messages sent from the renderer to the browser. |
| -// Sent by the renderer when a child frame is created in the renderer. The |
| -// |parent_frame_id| and |frame_id| are NOT routing ids. They are |
| -// renderer-allocated identifiers used for tracking a frame's creation. |
| +// Sent by the renderer when a child frame is created in the renderer. |
| // |
| // Each of these messages will have a corresponding FrameHostMsg_Detach message |
| // sent when the frame is detached from the DOM. |
| -// |
| -// TOOD(ajwong): replace parent_render_frame_id and frame_id with just the |
| -// routing ids. |
| -IPC_SYNC_MESSAGE_CONTROL4_1(FrameHostMsg_CreateChildFrame, |
| - int32 /* parent_render_frame_id */, |
| - int64 /* parent_frame_id */, |
| - int64 /* frame_id */, |
| +IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_CreateChildFrame, |
| + int32 /* parent_routing_id */, |
| std::string /* frame_name */, |
| - int /* new_render_frame_id */) |
| + int /* new_routing_id */) |
|
dcheng
2014/02/20 01:28:03
Nit: I think it'd look a little better we used ide
Charlie Reis
2014/02/20 01:49:08
Done.
|
| // Sent by the renderer to the parent RenderFrameHost when a child frame is |
| // detached from the DOM. |
| -IPC_MESSAGE_ROUTED2(FrameHostMsg_Detach, |
| - int64 /* parent_frame_id */, |
| - int64 /* frame_id */) |
| +IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) |
| // Sent when the renderer starts a provisional load for a frame. |
| IPC_MESSAGE_ROUTED4(FrameHostMsg_DidStartProvisionalLoadForFrame, |