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

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

Issue 1409693009: Fix leaking of RenderFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle main frame navigating to existing process. Created 5 years, 1 month 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
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 "cc/surfaces/surface_id.h" 8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h" 9 #include "cc/surfaces/surface_sequence.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 // disowned. 473 // disowned.
474 IPC_MESSAGE_ROUTED1(FrameMsg_UpdateOpener, int /* opener_routing_id */) 474 IPC_MESSAGE_ROUTED1(FrameMsg_UpdateOpener, int /* opener_routing_id */)
475 475
476 // Requests that the RenderFrame send back a response after waiting for the 476 // Requests that the RenderFrame send back a response after waiting for the
477 // commit, activation and frame swap of the current DOM tree in blink. 477 // commit, activation and frame swap of the current DOM tree in blink.
478 IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */) 478 IPC_MESSAGE_ROUTED1(FrameMsg_VisualStateRequest, uint64 /* id */)
479 479
480 // Instructs the renderer to create a new RenderFrame object. 480 // Instructs the renderer to create a new RenderFrame object.
481 IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */) 481 IPC_MESSAGE_CONTROL1(FrameMsg_NewFrame, FrameMsg_NewFrame_Params /* params */)
482 482
483 // Instructs the renderer to detach the RenderFrame object identified by
484 // |routing_id|.
485 IPC_MESSAGE_CONTROL1(FrameMsg_Detach, int /* routing_id */)
486
483 // Instructs the renderer to create a new RenderFrameProxy object with 487 // Instructs the renderer to create a new RenderFrameProxy object with
484 // |routing_id|. |render_view_routing_id| identifies the 488 // |routing_id|. |render_view_routing_id| identifies the
485 // RenderView to be associated with this proxy. The new proxy's opener should 489 // RenderView to be associated with this proxy. The new proxy's opener should
486 // be set to the object identified by |opener_routing_id|, or to null if that 490 // be set to the object identified by |opener_routing_id|, or to null if that
487 // is MSG_ROUTING_NONE. The new proxy should be created as a child of the 491 // is MSG_ROUTING_NONE. The new proxy should be created as a child of the
488 // object identified by |parent_routing_id| or as top level if that is 492 // object identified by |parent_routing_id| or as top level if that is
489 // MSG_ROUTING_NONE. 493 // MSG_ROUTING_NONE.
490 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrameProxy, 494 IPC_MESSAGE_CONTROL5(FrameMsg_NewFrameProxy,
491 int /* routing_id */, 495 int /* routing_id */,
492 int /* render_view_routing_id */, 496 int /* render_view_routing_id */,
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1205 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1202 FrameHostMsg_ShowPopup_Params) 1206 FrameHostMsg_ShowPopup_Params)
1203 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1207 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1204 1208
1205 #endif 1209 #endif
1206 1210
1207 // Adding a new message? Stick to the sort order above: first platform 1211 // Adding a new message? Stick to the sort order above: first platform
1208 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1212 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1209 // platform independent FrameHostMsg, then ifdefs for platform specific 1213 // platform independent FrameHostMsg, then ifdefs for platform specific
1210 // FrameHostMsg. 1214 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698