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

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: fix unit test Created 9 years, 3 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
« no previous file with comments | « content/common/content_notification_types.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 GURL /* url */, 1606 GURL /* url */,
1607 GURL /* first_party_for_cookies */, 1607 GURL /* first_party_for_cookies */,
1608 bool /* cookies_enabled */) 1608 bool /* cookies_enabled */)
1609 1609
1610 // Used to get the list of plugins 1610 // Used to get the list of plugins
1611 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1611 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
1612 bool /* refresh*/, 1612 bool /* refresh*/,
1613 std::vector<webkit::WebPluginInfo> /* plugins */) 1613 std::vector<webkit::WebPluginInfo> /* plugins */)
1614 1614
1615 // Return information about a plugin for the given URL and MIME 1615 // Return information about a plugin for the given URL and MIME
1616 // type. If there is no matching plugin, |found| is false. If 1616 // type. If there is no matching plugin, |found| is false.
1617 // |enabled| in the WebPluginInfo struct is false, the plug-in is
1618 // treated as if it was not installed at all.
1619 // |actual_mime_type| is the actual mime type supported by the 1617 // |actual_mime_type| is the actual mime type supported by the
1620 // plugin found that match the URL given (one for each item in 1618 // plugin found that match the URL given (one for each item in
1621 // |info|). 1619 // |info|).
1622 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, 1620 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
1623 int /* routing_id */, 1621 int /* routing_id */,
1624 GURL /* url */, 1622 GURL /* url */,
1625 GURL /* policy_url */, 1623 GURL /* page_url */,
1626 std::string /* mime_type */, 1624 std::string /* mime_type */,
1627 bool /* found */, 1625 bool /* found */,
1628 webkit::WebPluginInfo /* plugin info */, 1626 webkit::WebPluginInfo /* plugin info */,
1629 std::string /* actual_mime_type */) 1627 std::string /* actual_mime_type */)
1630 1628
1631 // A renderer sends this to the browser process when it wants to 1629 // A renderer sends this to the browser process when it wants to
1632 // create a plugin. The browser will create the plugin process if 1630 // create a plugin. The browser will create the plugin process if
1633 // necessary, and will return a handle to the channel on success. 1631 // necessary, and will return a handle to the channel on success.
1634 // On error an empty string is returned. 1632 // On error an empty string is returned.
1635 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, 1633 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin,
1636 int /* routing_id */, 1634 int /* routing_id */,
1637 GURL /* url */, 1635 GURL /* url */,
1636 GURL /* page_url */,
1638 std::string /* mime_type */, 1637 std::string /* mime_type */,
1639 IPC::ChannelHandle /* channel_handle */, 1638 IPC::ChannelHandle /* channel_handle */,
1640 webkit::WebPluginInfo /* info */) 1639 webkit::WebPluginInfo /* info */)
1641 1640
1642 // Get the list of proxies to use for |url|, as a semicolon delimited list 1641 // Get the list of proxies to use for |url|, as a semicolon delimited list
1643 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". 1642 // of "<TYPE> <HOST>:<PORT>" | "DIRECT".
1644 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, 1643 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy,
1645 GURL /* url */, 1644 GURL /* url */,
1646 bool /* result */, 1645 bool /* result */,
1647 std::string /* proxy list */) 1646 std::string /* proxy list */)
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 int32 /* complete status */) 2133 int32 /* complete status */)
2135 2134
2136 // Request updated information about the client firewall traversal policy. 2135 // Request updated information about the client firewall traversal policy.
2137 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2136 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2138 // being sent back. 2137 // being sent back.
2139 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2138 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2140 2139
2141 // Notifies the browser of an event occurring in the media pipeline. 2140 // Notifies the browser of an event occurring in the media pipeline.
2142 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 2141 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2143 media::MediaLogEvent /* event */) 2142 media::MediaLogEvent /* event */)
OLDNEW
« no previous file with comments | « content/common/content_notification_types.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698