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

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: Compile fix Created 6 years, 4 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 337 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
338 // the menu has been closed. 338 // the menu has been closed.
339 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 339 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
340 content::CustomContextMenuContext /* custom_context */) 340 content::CustomContextMenuContext /* custom_context */)
341 341
342 // Executes custom context menu action that was provided from Blink. 342 // Executes custom context menu action that was provided from Blink.
343 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 343 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
344 content::CustomContextMenuContext /* custom_context */, 344 content::CustomContextMenuContext /* custom_context */,
345 unsigned /* action */) 345 unsigned /* action */)
346 346
347 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
348 // The new frame should be created as a child of the object identified by
349 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE.
350 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame,
351 int /* routing_id */,
352 int /* parent_routing_id */)
353
354 // Instructs the renderer to create a new RenderFrameProxy object with
355 // |routing_id|. The new proxy should be created as a child of the object
356 // idendified by |parent_routing_id| or as top level if that is
Charlie Reis 2014/07/28 19:24:28 identified
kenrb 2014/07/28 21:07:21 Done.
357 // MSG_ROUTING_NONE.
358 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy,
359 int /* routing_id */,
360 int /* parent_routing_id */,
361 int /* render_view_routing_id */)
362
347 // Tells the renderer to perform the specified navigation, interrupting any 363 // Tells the renderer to perform the specified navigation, interrupting any
348 // existing navigation. 364 // existing navigation.
349 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params) 365 IPC_MESSAGE_ROUTED1(FrameMsg_Navigate, FrameMsg_Navigate_Params)
350 366
351 // Instructs the renderer to invoke the frame's beforeunload event handler. 367 // Instructs the renderer to invoke the frame's beforeunload event handler.
352 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK. 368 // Expects the result to be returned via FrameHostMsg_BeforeUnload_ACK.
353 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload) 369 IPC_MESSAGE_ROUTED0(FrameMsg_BeforeUnload)
354 370
355 // Instructs the frame to swap out for a cross-site transition, including 371 // Instructs the frame to swap out for a cross-site transition, including
356 // running the unload event handler and creating a RenderFrameProxy with the 372 // running the unload event handler and creating a RenderFrameProxy with the
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 int /* render_frame_id */, 697 int /* render_frame_id */,
682 bool /* is_transition */) 698 bool /* is_transition */)
683 699
684 // Tells the browser to perform a navigation. 700 // Tells the browser to perform a navigation.
685 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, 701 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,
686 FrameHostMsg_BeginNavigation_Params) 702 FrameHostMsg_BeginNavigation_Params)
687 703
688 // Sent once a paint happens after the first non empty layout. In other words 704 // Sent once a paint happens after the first non empty layout. In other words
689 // after the frame has painted something. 705 // after the frame has painted something.
690 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 706 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698