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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 int /* opener_id */, | 839 int /* opener_id */, |
840 blink::WebPopupType /* popup type */, | 840 blink::WebPopupType /* popup type */, |
841 int /* route_id */) | 841 int /* route_id */) |
842 | 842 |
843 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen | 843 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen |
844 // window. | 844 // window. |
845 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget, | 845 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget, |
846 int /* opener_id */, | 846 int /* opener_id */, |
847 int /* route_id */) | 847 int /* route_id */) |
848 | 848 |
849 // Asks the browser for a unique routing ID. | |
850 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, | |
851 int /* routing_id */) | |
852 | |
853 // These three messages are sent to the parent RenderViewHost to display the | 849 // These three messages are sent to the parent RenderViewHost to display the |
854 // page/widget that was created by | 850 // page/widget that was created by |
855 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id | 851 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id |
856 // refers to the id that was returned from the Create message above. | 852 // refers to the id that was returned from the Create message above. |
857 // The initial_rect parameter is in screen coordinates. | 853 // The initial_rect parameter is in screen coordinates. |
858 // | 854 // |
859 // FUTURE: there will probably be flags here to control if the result is | 855 // FUTURE: there will probably be flags here to control if the result is |
860 // in a new window. | 856 // in a new window. |
861 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, | 857 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, |
862 int /* route_id */, | 858 int /* route_id */, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 int /* y */) | 1156 int /* y */) |
1161 | 1157 |
1162 #elif defined(OS_MACOSX) | 1158 #elif defined(OS_MACOSX) |
1163 // Receives content of a web page as plain text. | 1159 // Receives content of a web page as plain text. |
1164 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1160 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1165 #endif | 1161 #endif |
1166 | 1162 |
1167 // Adding a new message? Stick to the sort order above: first platform | 1163 // Adding a new message? Stick to the sort order above: first platform |
1168 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1164 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1169 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1165 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |