| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1072 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1074 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
| 1073 int /* selected index, -1 means no selection */) | 1075 int /* selected index, -1 means no selection */) |
| 1074 | 1076 |
| 1075 // The response to ViewHostMsg_PepperConnectTcp(Address). | 1077 // The response to ViewHostMsg_PepperConnectTcp(Address). |
| 1076 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK, | 1078 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK, |
| 1077 int /* request_id */, | 1079 int /* request_id */, |
| 1078 IPC::PlatformFileForTransit /* socket */, | 1080 IPC::PlatformFileForTransit /* socket */, |
| 1079 PP_Flash_NetAddress /* local_addr */, | 1081 PP_Flash_NetAddress /* local_addr */, |
| 1080 PP_Flash_NetAddress /* remote_addr */) | 1082 PP_Flash_NetAddress /* remote_addr */) |
| 1081 | 1083 |
| 1084 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that |
| 1085 // the menu has been closed. |
| 1086 IPC_MESSAGE_ROUTED0(ViewMsg_ContextMenuClosed) |
| 1087 |
| 1082 //----------------------------------------------------------------------------- | 1088 //----------------------------------------------------------------------------- |
| 1083 // TabContents messages | 1089 // TabContents messages |
| 1084 // These are messages sent from the renderer to the browser process. | 1090 // These are messages sent from the renderer to the browser process. |
| 1085 | 1091 |
| 1086 // Sent by the renderer when it is creating a new window. The browser creates | 1092 // Sent by the renderer when it is creating a new window. The browser creates |
| 1087 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1093 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| 1088 // MSG_ROUTING_NONE, the view couldn't be created. | 1094 // MSG_ROUTING_NONE, the view couldn't be created. |
| 1089 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, | 1095 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, |
| 1090 ViewHostMsg_CreateWindow_Params, | 1096 ViewHostMsg_CreateWindow_Params, |
| 1091 int /* route_id */, | 1097 int /* route_id */, |
| (...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2618 int /* request_id */, | 2624 int /* request_id */, |
| 2619 PP_Flash_NetAddress /* addr */) | 2625 PP_Flash_NetAddress /* addr */) |
| 2620 | 2626 |
| 2621 // JavaScript related messages ----------------------------------------------- | 2627 // JavaScript related messages ----------------------------------------------- |
| 2622 | 2628 |
| 2623 // Notify the JavaScript engine in the render to change its parameters | 2629 // Notify the JavaScript engine in the render to change its parameters |
| 2624 // while performing stress testing. | 2630 // while performing stress testing. |
| 2625 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2631 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2626 int /* cmd */, | 2632 int /* cmd */, |
| 2627 int /* param */) | 2633 int /* param */) |
| OLD | NEW |