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 // 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 "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1589 // create a plugin. The browser will create the plugin process if | 1589 // create a plugin. The browser will create the plugin process if |
1590 // necessary, and will return a handle to the channel on success. | 1590 // necessary, and will return a handle to the channel on success. |
1591 // On error an empty string is returned. | 1591 // On error an empty string is returned. |
1592 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, | 1592 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, |
1593 int /* routing_id */, | 1593 int /* routing_id */, |
1594 GURL /* url */, | 1594 GURL /* url */, |
1595 std::string /* mime_type */, | 1595 std::string /* mime_type */, |
1596 IPC::ChannelHandle /* channel_handle */, | 1596 IPC::ChannelHandle /* channel_handle */, |
1597 webkit::WebPluginInfo /* info */) | 1597 webkit::WebPluginInfo /* info */) |
1598 | 1598 |
| 1599 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 1600 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
| 1601 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
| 1602 GURL /* url */, |
| 1603 bool /* result */, |
| 1604 std::string /* proxy list */) |
| 1605 |
1599 // A renderer sends this to the browser process when it wants to create a | 1606 // A renderer sends this to the browser process when it wants to create a |
1600 // worker. The browser will create the worker process if necessary, and | 1607 // worker. The browser will create the worker process if necessary, and |
1601 // will return the route id on success. On error returns MSG_ROUTING_NONE. | 1608 // will return the route id on success. On error returns MSG_ROUTING_NONE. |
1602 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, | 1609 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, |
1603 ViewHostMsg_CreateWorker_Params, | 1610 ViewHostMsg_CreateWorker_Params, |
1604 int /* route_id */) | 1611 int /* route_id */) |
1605 | 1612 |
1606 // This message is sent to the browser to see if an instance of this shared | 1613 // This message is sent to the browser to see if an instance of this shared |
1607 // worker already exists. If so, it returns exists == true. If a | 1614 // worker already exists. If so, it returns exists == true. If a |
1608 // non-empty name is passed, also validates that the url matches the url of | 1615 // non-empty name is passed, also validates that the url matches the url of |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2088 int32 /* complete status */) | 2095 int32 /* complete status */) |
2089 | 2096 |
2090 // Request updated information about the client firewall traversal policy. | 2097 // Request updated information about the client firewall traversal policy. |
2091 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2098 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2092 // being sent back. | 2099 // being sent back. |
2093 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2100 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2094 | 2101 |
2095 // Notifies the browser of an event occurring in the media pipeline. | 2102 // Notifies the browser of an event occurring in the media pipeline. |
2096 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2103 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2097 media::MediaLogEvent /* event */) | 2104 media::MediaLogEvent /* event */) |
OLD | NEW |