| 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen | 865 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen |
| 866 // window. | 866 // window. |
| 867 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget, | 867 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget, |
| 868 int /* opener_id */, | 868 int /* opener_id */, |
| 869 int /* route_id */) | 869 int /* route_id */) |
| 870 | 870 |
| 871 // Asks the browser for a unique routing ID. | 871 // Asks the browser for a unique routing ID. |
| 872 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, | 872 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, |
| 873 int /* routing_id */) | 873 int /* routing_id */) |
| 874 | 874 |
| 875 // Asks the browser for the default audio hardware configuration. | |
| 876 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetAudioHardwareConfig, | |
| 877 media::AudioParameters /* input parameters */, | |
| 878 media::AudioParameters /* output parameters */) | |
| 879 | |
| 880 // These three messages are sent to the parent RenderViewHost to display the | 875 // These three messages are sent to the parent RenderViewHost to display the |
| 881 // page/widget that was created by | 876 // page/widget that was created by |
| 882 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id | 877 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id |
| 883 // refers to the id that was returned from the Create message above. | 878 // refers to the id that was returned from the Create message above. |
| 884 // The initial_rect parameter is in screen coordinates. | 879 // The initial_rect parameter is in screen coordinates. |
| 885 // | 880 // |
| 886 // FUTURE: there will probably be flags here to control if the result is | 881 // FUTURE: there will probably be flags here to control if the result is |
| 887 // in a new window. | 882 // in a new window. |
| 888 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, | 883 IPC_MESSAGE_ROUTED4(ViewHostMsg_ShowView, |
| 889 int /* route_id */, | 884 int /* route_id */, |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 int /* y */) | 1182 int /* y */) |
| 1188 | 1183 |
| 1189 #elif defined(OS_MACOSX) | 1184 #elif defined(OS_MACOSX) |
| 1190 // Receives content of a web page as plain text. | 1185 // Receives content of a web page as plain text. |
| 1191 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1186 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1192 #endif | 1187 #endif |
| 1193 | 1188 |
| 1194 // Adding a new message? Stick to the sort order above: first platform | 1189 // Adding a new message? Stick to the sort order above: first platform |
| 1195 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1190 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1196 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1191 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |