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

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

Issue 444503002: Start using RenderFrameProxyHost objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create view IFF frame is main frame 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // identified by |parent_routing_id| or as top level if that is
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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 int /* render_frame_id */, 695 int /* render_frame_id */,
680 bool /* is_transition */) 696 bool /* is_transition */)
681 697
682 // Tells the browser to perform a navigation. 698 // Tells the browser to perform a navigation.
683 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, 699 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,
684 FrameHostMsg_BeginNavigation_Params) 700 FrameHostMsg_BeginNavigation_Params)
685 701
686 // Sent once a paint happens after the first non empty layout. In other words 702 // Sent once a paint happens after the first non empty layout. In other words
687 // after the frame has painted something. 703 // after the frame has painted something.
688 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 704 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698