OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Sends updated preferences to the renderer. | 119 // Sends updated preferences to the renderer. |
120 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 120 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
121 RendererPreferences) | 121 RendererPreferences) |
122 | 122 |
123 // Tells the renderer to perform the given action on the media player | 123 // Tells the renderer to perform the given action on the media player |
124 // located at the given point. | 124 // located at the given point. |
125 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, | 125 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
126 gfx::Point, /* location */ | 126 gfx::Point, /* location */ |
127 WebKit::WebMediaPlayerAction) | 127 WebKit::WebMediaPlayerAction) |
128 | 128 |
| 129 IPC_MESSAGE_ROUTED0(ViewMsg_PrintNodeUnderContextMenu) |
| 130 |
129 // Tells the render view to close. | 131 // Tells the render view to close. |
130 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 132 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
131 | 133 |
132 // Tells the render view to change its size. A ViewHostMsg_PaintRect message | 134 // Tells the render view to change its size. A ViewHostMsg_PaintRect message |
133 // is generated in response provided new_size is not empty and not equal to | 135 // is generated in response provided new_size is not empty and not equal to |
134 // the view's current size. The generated ViewHostMsg_PaintRect message will | 136 // the view's current size. The generated ViewHostMsg_PaintRect message will |
135 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 137 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
136 // we don't have to fetch it every time WebKit asks for it. | 138 // we don't have to fetch it every time WebKit asks for it. |
137 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, | 139 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, |
138 gfx::Size /* new_size */, | 140 gfx::Size /* new_size */, |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, | 1078 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, |
1077 bool /* enabled */) | 1079 bool /* enabled */) |
1078 | 1080 |
1079 // The response to ViewHostMsg_PepperConnectTcp(Address). | 1081 // The response to ViewHostMsg_PepperConnectTcp(Address). |
1080 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK, | 1082 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK, |
1081 int /* request_id */, | 1083 int /* request_id */, |
1082 IPC::PlatformFileForTransit /* socket */, | 1084 IPC::PlatformFileForTransit /* socket */, |
1083 PP_Flash_NetAddress /* local_addr */, | 1085 PP_Flash_NetAddress /* local_addr */, |
1084 PP_Flash_NetAddress /* remote_addr */) | 1086 PP_Flash_NetAddress /* remote_addr */) |
1085 | 1087 |
| 1088 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that |
| 1089 // the menu has been closed. |
| 1090 IPC_MESSAGE_ROUTED0(ViewMsg_ContextMenuClosed) |
| 1091 |
1086 //----------------------------------------------------------------------------- | 1092 //----------------------------------------------------------------------------- |
1087 // TabContents messages | 1093 // TabContents messages |
1088 // These are messages sent from the renderer to the browser process. | 1094 // These are messages sent from the renderer to the browser process. |
1089 | 1095 |
1090 // Sent by the renderer when it is creating a new window. The browser creates | 1096 // Sent by the renderer when it is creating a new window. The browser creates |
1091 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1097 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1092 // MSG_ROUTING_NONE, the view couldn't be created. | 1098 // MSG_ROUTING_NONE, the view couldn't be created. |
1093 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, | 1099 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, |
1094 ViewHostMsg_CreateWindow_Params, | 1100 ViewHostMsg_CreateWindow_Params, |
1095 int /* route_id */, | 1101 int /* route_id */, |
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2615 IPC_MESSAGE_CONTROL4(ViewHostMsg_PepperConnectTcp, | 2621 IPC_MESSAGE_CONTROL4(ViewHostMsg_PepperConnectTcp, |
2616 int /* routing_id */, | 2622 int /* routing_id */, |
2617 int /* request_id */, | 2623 int /* request_id */, |
2618 std::string /* host */, | 2624 std::string /* host */, |
2619 uint16 /* port */) | 2625 uint16 /* port */) |
2620 | 2626 |
2621 IPC_MESSAGE_CONTROL3(ViewHostMsg_PepperConnectTcpAddress, | 2627 IPC_MESSAGE_CONTROL3(ViewHostMsg_PepperConnectTcpAddress, |
2622 int /* routing_id */, | 2628 int /* routing_id */, |
2623 int /* request_id */, | 2629 int /* request_id */, |
2624 PP_Flash_NetAddress /* addr */) | 2630 PP_Flash_NetAddress /* addr */) |
OLD | NEW |