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 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 GURL /* url */, | 1524 GURL /* url */, |
1525 GURL /* first_party_for_cookies */, | 1525 GURL /* first_party_for_cookies */, |
1526 bool /* cookies_enabled */) | 1526 bool /* cookies_enabled */) |
1527 | 1527 |
1528 // Used to get the list of plugins | 1528 // Used to get the list of plugins |
1529 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, | 1529 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, |
1530 bool /* refresh*/, | 1530 bool /* refresh*/, |
1531 std::vector<webkit::npapi::WebPluginInfo> /* plugins */) | 1531 std::vector<webkit::npapi::WebPluginInfo> /* plugins */) |
1532 | 1532 |
1533 // Return information about a plugin for the given URL and MIME | 1533 // Return information about a plugin for the given URL and MIME |
1534 // type. If there is no matching plugin, |found| is false. If | 1534 // type. If there is no matching plugin, |found| is false. |
1535 // |enabled| in the WebPluginInfo struct is false, the plug-in is | |
1536 // treated as if it was not installed at all. | |
1537 // |actual_mime_type| is the actual mime type supported by the | 1535 // |actual_mime_type| is the actual mime type supported by the |
1538 // plugin found that match the URL given (one for each item in | 1536 // plugin found that match the URL given (one for each item in |
1539 // |info|). | 1537 // |info|). |
1540 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, | 1538 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, |
1541 int /* routing_id */, | 1539 int /* routing_id */, |
1542 GURL /* url */, | 1540 GURL /* url */, |
1543 GURL /* policy_url */, | 1541 GURL /* page_url */, |
1544 std::string /* mime_type */, | 1542 std::string /* mime_type */, |
1545 bool /* found */, | 1543 bool /* found */, |
1546 webkit::npapi::WebPluginInfo /* plugin info */, | 1544 webkit::npapi::WebPluginInfo /* plugin info */, |
1547 std::string /* actual_mime_type */) | 1545 std::string /* actual_mime_type */) |
1548 | 1546 |
1549 // A renderer sends this to the browser process when it wants to | 1547 // A renderer sends this to the browser process when it wants to |
1550 // create a plugin. The browser will create the plugin process if | 1548 // create a plugin. The browser will create the plugin process if |
1551 // necessary, and will return a handle to the channel on success. | 1549 // necessary, and will return a handle to the channel on success. |
1552 // On error an empty string is returned. | 1550 // On error an empty string is returned. |
1553 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, | 1551 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
1554 int /* routing_id */, | 1552 int /* routing_id */, |
1555 GURL /* url */, | 1553 GURL /* url */, |
| 1554 GURL /* page_url */, |
1556 std::string /* mime_type */, | 1555 std::string /* mime_type */, |
1557 IPC::ChannelHandle /* channel_handle */, | 1556 IPC::ChannelHandle /* channel_handle */, |
1558 webkit::npapi::WebPluginInfo /* info */) | 1557 webkit::npapi::WebPluginInfo /* info */) |
1559 | 1558 |
1560 // A renderer sends this to the browser process when it wants to create a | 1559 // A renderer sends this to the browser process when it wants to create a |
1561 // worker. The browser will create the worker process if necessary, and | 1560 // worker. The browser will create the worker process if necessary, and |
1562 // will return the route id on success. On error returns MSG_ROUTING_NONE. | 1561 // will return the route id on success. On error returns MSG_ROUTING_NONE. |
1563 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, | 1562 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, |
1564 ViewHostMsg_CreateWorker_Params, | 1563 ViewHostMsg_CreateWorker_Params, |
1565 int /* route_id */) | 1564 int /* route_id */) |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2021 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 2020 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
2022 GURL /* frame's url */, | 2021 GURL /* frame's url */, |
2023 std::string /* data buffer */, | 2022 std::string /* data buffer */, |
2024 int32 /* complete status */) | 2023 int32 /* complete status */) |
2025 | 2024 |
2026 // Request updated information about the client firewall traversal policy. | 2025 // Request updated information about the client firewall traversal policy. |
2027 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2026 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2028 // being sent back. | 2027 // being sent back. |
2029 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2028 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2030 | 2029 |
OLD | NEW |