| 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_CreateWidget except the widget is a full screen | |
| 636 // window. | |
| 637 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget, | |
| 638 int /* opener_id */, | |
| 639 int /* route_id */) | |
| 640 | |
| 641 // These three messages are sent to the parent RenderViewHost to display the | 635 // These three messages are sent to the parent RenderViewHost to display the |
| 642 // page/widget that was created by | 636 // page/widget that was created by |
| 643 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id | 637 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id |
| 644 // refers to the id that was returned from the Create message above. | 638 // refers to the id that was returned from the Create message above. |
| 645 // The initial_rect parameter is in screen coordinates. | 639 // The initial_rect parameter is in screen coordinates. |
| 646 // | 640 // |
| 647 // FUTURE: there will probably be flags here to control if the result is | 641 // FUTURE: there will probably be flags here to control if the result is |
| 648 // in a new window. | 642 // in a new window. |
| 649 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, | 643 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, |
| 650 int /* route_id */, | 644 int /* route_id */, |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 int /* y */) | 931 int /* y */) |
| 938 | 932 |
| 939 #elif defined(OS_MACOSX) | 933 #elif defined(OS_MACOSX) |
| 940 // Receives content of a web page as plain text. | 934 // Receives content of a web page as plain text. |
| 941 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 935 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 942 #endif | 936 #endif |
| 943 | 937 |
| 944 // Adding a new message? Stick to the sort order above: first platform | 938 // Adding a new message? Stick to the sort order above: first platform |
| 945 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 939 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 946 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 940 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |