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

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

Issue 404613005: Start using RenderFrameProxyHost objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 323 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
324 // the menu has been closed. 324 // the menu has been closed.
325 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 325 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
326 content::CustomContextMenuContext /* custom_context */) 326 content::CustomContextMenuContext /* custom_context */)
327 327
328 // Executes custom context menu action that was provided from Blink. 328 // Executes custom context menu action that was provided from Blink.
329 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 329 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
330 content::CustomContextMenuContext /* custom_context */, 330 content::CustomContextMenuContext /* custom_context */,
331 unsigned /* action */) 331 unsigned /* action */)
332 332
333 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
334 // The new frame should be created as a child of the object idendified by
335 // |parent_routing_id| or as top level if the id is MSG_ROUTING_NONE.
336 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame,
337 int /* routing_id */,
338 int /* parent_routing_id */)
339
340 // Instructs the renderer to create a new RenderFrameProxy object with
341 // |routing_id|. The new proxy should be created as a child of the object
342 // idendified by |parent_routing_id| or as top level if the id is
343 // MSG_ROUTING_NONE.
344 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy,
345 int /* routing_id */,
346 int /* parent_routing_id */,
347 int /* render_view_routing_id */)
348
333 // Tells the renderer to perform the specified navigation, interrupting any 349 // Tells the renderer to perform the specified navigation, interrupting any
334 // existing navigation. 350 // existing navigation.
335 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) 351 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params)
336 352
337 // Instructs the renderer to invoke the frame's beforeunload event handler. 353 // Instructs the renderer to invoke the frame's beforeunload event handler.
338 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. 354 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK.
339 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) 355 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload)
340 356
341 // Instructs the frame to swap out for a cross-site transition, including 357 // Instructs the frame to swap out for a cross-site transition, including
342 // running the unload event handler and creating a RenderFrameProxy with the 358 // running the unload event handler and creating a RenderFrameProxy with the
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 size_t /* endOffset */) 675 size_t /* endOffset */)
660 676
661 // Notifies the browser that the renderer has a pending navigation transition. 677 // Notifies the browser that the renderer has a pending navigation transition.
662 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, 678 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest,
663 int /* render_frame_id */, 679 int /* render_frame_id */,
664 bool /* is_transition */) 680 bool /* is_transition */)
665 681
666 // Tells the browser to perform a navigation. 682 // Tells the browser to perform a navigation.
667 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, 683 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,
668 FrameHostMsg_BeginNavigation_Params) 684 FrameHostMsg_BeginNavigation_Params)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698