| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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. |
| OLD | NEW |