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

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

Issue 2450353004: Move ViewHostMsg_CreateWidget to mojom (Closed)
Patch Set: Addressed @tsepez's comment Created 4 years, 1 month 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/common/swapped_out_messages.cc ('k') | content/public/test/mock_render_thread.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 // ----------------------------------------------------------------------------- 626 // -----------------------------------------------------------------------------
627 // Messages sent from the renderer to the browser. 627 // Messages sent from the renderer to the browser.
628 628
629 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming 629 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming
630 // display events. If |enabled| is true, the BeginFrame message will continue 630 // display events. If |enabled| is true, the BeginFrame message will continue
631 // to be be delivered until the notification is disabled. 631 // to be be delivered until the notification is disabled.
632 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, 632 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames,
633 bool /* enabled */) 633 bool /* enabled */)
634 634
635 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like
636 // <select> dropdowns. This message is sent to the WebContentsImpl that
637 // contains the widget being created.
638 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateWidget,
639 int /* opener_id */,
640 blink::WebPopupType /* popup type */,
641 int /* route_id */)
642
643 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen 635 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen
644 // window. 636 // window.
645 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget, 637 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget,
646 int /* opener_id */, 638 int /* opener_id */,
647 int /* route_id */) 639 int /* route_id */)
648 640
649 // These three messages are sent to the parent RenderViewHost to display the 641 // These three messages are sent to the parent RenderViewHost to display the
650 // page/widget that was created by 642 // page/widget that was created by
651 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id 643 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id
652 // refers to the id that was returned from the Create message above. 644 // refers to the id that was returned from the Create message above.
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 int /* y */) 937 int /* y */)
946 938
947 #elif defined(OS_MACOSX) 939 #elif defined(OS_MACOSX)
948 // Receives content of a web page as plain text. 940 // Receives content of a web page as plain text.
949 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 941 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
950 #endif 942 #endif
951 943
952 // Adding a new message? Stick to the sort order above: first platform 944 // Adding a new message? Stick to the sort order above: first platform
953 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 945 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
954 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 946 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698