Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: content/common/view_messages.h

Issue 7387010: Add PluginServiceFilter interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move PluginFilter into content:: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 GURL /* url */, 1519 GURL /* url */,
1520 GURL /* first_party_for_cookies */, 1520 GURL /* first_party_for_cookies */,
1521 bool /* cookies_enabled */) 1521 bool /* cookies_enabled */)
1522 1522
1523 // Used to get the list of plugins 1523 // Used to get the list of plugins
1524 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1524 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
1525 bool /* refresh*/, 1525 bool /* refresh*/,
1526 std::vector<webkit::npapi::WebPluginInfo> /* plugins */) 1526 std::vector<webkit::npapi::WebPluginInfo> /* plugins */)
1527 1527
1528 // Return information about a plugin for the given URL and MIME 1528 // Return information about a plugin for the given URL and MIME
1529 // type. If there is no matching plugin, |found| is false. If 1529 // type. If there is no matching plugin, |found| is false.
1530 // |enabled| in the WebPluginInfo struct is false, the plug-in is
1531 // treated as if it was not installed at all.
1532 // |actual_mime_type| is the actual mime type supported by the 1530 // |actual_mime_type| is the actual mime type supported by the
1533 // plugin found that match the URL given (one for each item in 1531 // plugin found that match the URL given (one for each item in
1534 // |info|). 1532 // |info|).
1535 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, 1533 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
1536 int /* routing_id */, 1534 int /* routing_id */,
1537 GURL /* url */, 1535 GURL /* url */,
1538 GURL /* policy_url */, 1536 GURL /* page_url */,
1539 std::string /* mime_type */, 1537 std::string /* mime_type */,
1540 bool /* found */, 1538 bool /* found */,
1541 webkit::npapi::WebPluginInfo /* plugin info */, 1539 webkit::npapi::WebPluginInfo /* plugin info */,
1542 std::string /* actual_mime_type */) 1540 std::string /* actual_mime_type */)
1543 1541
1544 // A renderer sends this to the browser process when it wants to 1542 // A renderer sends this to the browser process when it wants to
1545 // create a plugin. The browser will create the plugin process if 1543 // create a plugin. The browser will create the plugin process if
1546 // necessary, and will return a handle to the channel on success. 1544 // necessary, and will return a handle to the channel on success.
1547 // On error an empty string is returned. 1545 // On error an empty string is returned.
1548 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, 1546 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin,
1549 int /* routing_id */, 1547 int /* routing_id */,
1550 GURL /* url */, 1548 GURL /* url */,
1549 GURL /* page_url */,
1551 std::string /* mime_type */, 1550 std::string /* mime_type */,
1552 IPC::ChannelHandle /* channel_handle */, 1551 IPC::ChannelHandle /* channel_handle */,
1553 webkit::npapi::WebPluginInfo /* info */) 1552 webkit::npapi::WebPluginInfo /* info */)
1554 1553
1555 // A renderer sends this to the browser process when it wants to create a 1554 // A renderer sends this to the browser process when it wants to create a
1556 // worker. The browser will create the worker process if necessary, and 1555 // worker. The browser will create the worker process if necessary, and
1557 // will return the route id on success. On error returns MSG_ROUTING_NONE. 1556 // will return the route id on success. On error returns MSG_ROUTING_NONE.
1558 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, 1557 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker,
1559 ViewHostMsg_CreateWorker_Params, 1558 ViewHostMsg_CreateWorker_Params,
1560 int /* route_id */) 1559 int /* route_id */)
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2016 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2015 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2017 GURL /* frame's url */, 2016 GURL /* frame's url */,
2018 std::string /* data buffer */, 2017 std::string /* data buffer */,
2019 int32 /* complete status */) 2018 int32 /* complete status */)
2020 2019
2021 // Request updated information about the client firewall traversal policy. 2020 // Request updated information about the client firewall traversal policy.
2022 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2021 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2023 // being sent back. 2022 // being sent back.
2024 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2023 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2025 2024
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698