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

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

Issue 241223002: Start using RenderFrameProxyHost objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Commits the right URL now. Created 6 years, 6 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 285 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
286 // the menu has been closed. 286 // the menu has been closed.
287 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 287 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
288 content::CustomContextMenuContext /* custom_context */) 288 content::CustomContextMenuContext /* custom_context */)
289 289
290 // Executes custom context menu action that was provided from Blink. 290 // Executes custom context menu action that was provided from Blink.
291 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 291 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
292 content::CustomContextMenuContext /* custom_context */, 292 content::CustomContextMenuContext /* custom_context */,
293 unsigned /* action */) 293 unsigned /* action */)
294 294
295 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
296 // The new frame should be created as a child of the object idendified by
297 // |parent_routing_id| or as top level if the id is MSG_ROUTING_NONE.
298 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame,
299 int /* routing_id */,
300 int /* parent_routing_id */)
301
302 // Instructs the renderer to create a new RenderFrameProxy object with
303 // |routing_id|. The new proxy should be created as a child of the object
304 // idendified by |parent_routing_id| or as top level if the id is
305 // MSG_ROUTING_NONE.
306 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy,
307 int /* routing_id */,
308 int /* parent_routing_id */,
309 int /* render_view_routing_id */)
310
295 // Tells the renderer to perform the specified navigation, interrupting any 311 // Tells the renderer to perform the specified navigation, interrupting any
296 // existing navigation. 312 // existing navigation.
297 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) 313 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params)
298 314
299 // Instructs the renderer to invoke the frame's beforeunload event handler. 315 // Instructs the renderer to invoke the frame's beforeunload event handler.
300 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. 316 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK.
301 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) 317 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload)
302 318
303 // Instructs the frame to swap out for a cross-site transition, including 319 // Instructs the frame to swap out for a cross-site transition, including
304 // running the unload event handler and creating a RenderFrameProxy with the 320 // running the unload event handler and creating a RenderFrameProxy with the
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 // |endOffset| are the offsets of the selection in the returned |content|. 641 // |endOffset| are the offsets of the selection in the returned |content|.
626 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 642 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
627 base::string16, /* content */ 643 base::string16, /* content */
628 size_t, /* startOffset */ 644 size_t, /* startOffset */
629 size_t /* endOffset */) 645 size_t /* endOffset */)
630 646
631 // Notifies the browser that the renderer has a pending navigation transition. 647 // Notifies the browser that the renderer has a pending navigation transition.
632 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, 648 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest,
633 int /* render_frame_id */, 649 int /* render_frame_id */,
634 bool /* is_transition */) 650 bool /* is_transition */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698