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

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

Issue 616133002: Make RenderFrame(Host) own a RenderWidget(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. 371 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null.
372 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) 372 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener)
373 373
374 // Instructs the renderer to create a new RenderFrame object with |routing_id|. 374 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
375 // The new frame should be created as a child of the object identified by 375 // The new frame should be created as a child of the object identified by
376 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. 376 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE.
377 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, 377 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame,
378 int /* routing_id */, 378 int /* routing_id */,
379 int /* parent_routing_id */) 379 int /* parent_routing_id */)
380 380
381 IPC_MESSAGE_ROUTED2(FrameMsg_NewWidgetForFrame,
382 int /* routing_id_for_widget */,
383 bool /* hidden */)
384
381 // Instructs the renderer to create a new RenderFrameProxy object with 385 // Instructs the renderer to create a new RenderFrameProxy object with
382 // |routing_id|. The new proxy should be created as a child of the object 386 // |routing_id|. The new proxy should be created as a child of the object
383 // identified by |parent_routing_id| or as top level if that is 387 // identified by |parent_routing_id| or as top level if that is
384 // MSG_ROUTING_NONE. 388 // MSG_ROUTING_NONE.
385 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, 389 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy,
386 int /* routing_id */, 390 int /* routing_id */,
387 int /* parent_routing_id */, 391 int /* parent_routing_id */,
388 int /* render_view_routing_id */) 392 int /* render_view_routing_id */)
389 393
390 // Tells the renderer to perform the specified navigation, interrupting any 394 // Tells the renderer to perform the specified navigation, interrupting any
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 777 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
774 778
775 #if defined(OS_MACOSX) || defined(OS_ANDROID) 779 #if defined(OS_MACOSX) || defined(OS_ANDROID)
776 780
777 // Message to show/hide a popup menu using native controls. 781 // Message to show/hide a popup menu using native controls.
778 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 782 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
779 FrameHostMsg_ShowPopup_Params) 783 FrameHostMsg_ShowPopup_Params)
780 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 784 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
781 785
782 #endif 786 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698