summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 12:49:54 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 12:49:54 +0000
commitdfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e (patch)
treed2cabf655ef897af93e6e3a06ed0a11a8af2a0f1 /content/common
parent34a50fd92a10f1f0b50d2b73edb228935ff824c8 (diff)
downloadchromium_src-dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e.zip
chromium_src-dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e.tar.gz
chromium_src-dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e.tar.bz2
Add PluginServiceFilter interface and ChromePluginServiceFilter.
This should get rid of all references to webkit::npapi::IsPluginEnabled in content/. BUG=80794 TEST=none Review URL: http://codereview.chromium.org/7387010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/content_notification_types.h4
-rw-r--r--content/common/view_messages.h9
2 files changed, 4 insertions, 9 deletions
diff --git a/content/common/content_notification_types.h b/content/common/content_notification_types.h
index 144ebb7..a193dac 100644
--- a/content/common/content_notification_types.h
+++ b/content/common/content_notification_types.h
@@ -412,10 +412,6 @@ enum NotificationType {
// in a Details<ChildProcessInfo>.
NOTIFICATION_CHILD_INSTANCE_CREATED,
- // Sent by the PluginUpdater when there is a change of plugin
- // enable/disable status.
- NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
-
// Download Notifications --------------------------------------------------
// Sent when a page generation to MHTML has finished.
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 395ff9e..c71b244 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1613,16 +1613,14 @@ IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
std::vector<webkit::WebPluginInfo> /* plugins */)
// Return information about a plugin for the given URL and MIME
-// type. If there is no matching plugin, |found| is false. If
-// |enabled| in the WebPluginInfo struct is false, the plug-in is
-// treated as if it was not installed at all.
+// type. If there is no matching plugin, |found| is false.
// |actual_mime_type| is the actual mime type supported by the
// plugin found that match the URL given (one for each item in
// |info|).
IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
int /* routing_id */,
GURL /* url */,
- GURL /* policy_url */,
+ GURL /* page_url */,
std::string /* mime_type */,
bool /* found */,
webkit::WebPluginInfo /* plugin info */,
@@ -1632,9 +1630,10 @@ IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
// create a plugin. The browser will create the plugin process if
// necessary, and will return a handle to the channel on success.
// On error an empty string is returned.
-IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin,
+IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin,
int /* routing_id */,
GURL /* url */,
+ GURL /* page_url */,
std::string /* mime_type */,
IPC::ChannelHandle /* channel_handle */,
webkit::WebPluginInfo /* info */)