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

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: Comments addressed 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null. 365 // Requests that the RenderFrame or RenderFrameProxy sets its opener to null.
366 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener) 366 IPC_MESSAGE_ROUTED0(FrameMsg_DisownOpener)
367 367
368 // Instructs the renderer to create a new RenderFrame object with |routing_id|. 368 // Instructs the renderer to create a new RenderFrame object with |routing_id|.
369 // The new frame should be created as a child of the object identified by 369 // The new frame should be created as a child of the object identified by
370 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE. 370 // |parent_routing_id| or as top level if that is MSG_ROUTING_NONE.
371 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame, 371 IPC_MESSAGE_CONTROL2(FrameMsg_NewFrame,
372 int /* routing_id */, 372 int /* routing_id */,
373 int /* parent_routing_id */) 373 int /* parent_routing_id */)
374 374
375 IPC_MESSAGE_ROUTED2(FrameMsg_NewWidgetForFrame,
376 int /* routing_id_for_widget */,
377 bool /* hidden */)
378
375 // Instructs the renderer to create a new RenderFrameProxy object with 379 // Instructs the renderer to create a new RenderFrameProxy object with
376 // |routing_id|. The new proxy should be created as a child of the object 380 // |routing_id|. The new proxy should be created as a child of the object
377 // identified by |parent_routing_id| or as top level if that is 381 // identified by |parent_routing_id| or as top level if that is
378 // MSG_ROUTING_NONE. 382 // MSG_ROUTING_NONE.
379 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy, 383 IPC_MESSAGE_CONTROL3(FrameMsg_NewFrameProxy,
380 int /* routing_id */, 384 int /* routing_id */,
381 int /* parent_routing_id */, 385 int /* parent_routing_id */,
382 int /* render_view_routing_id */) 386 int /* render_view_routing_id */)
383 387
384 // Tells the renderer to perform the specified navigation, interrupting any 388 // Tells the renderer to perform the specified navigation, interrupting any
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 757 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
754 758
755 #if defined(OS_MACOSX) || defined(OS_ANDROID) 759 #if defined(OS_MACOSX) || defined(OS_ANDROID)
756 760
757 // Message to show/hide a popup menu using native controls. 761 // Message to show/hide a popup menu using native controls.
758 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 762 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
759 FrameHostMsg_ShowPopup_Params) 763 FrameHostMsg_ShowPopup_Params)
760 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 764 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
761 765
762 #endif 766 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698