From dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e Mon Sep 17 00:00:00 2001 From: "bauerb@chromium.org" Date: Fri, 2 Sep 2011 12:49:54 +0000 Subject: 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 --- content/common/content_notification_types.h | 4 ---- content/common/view_messages.h | 9 ++++----- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'content/common') 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. 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 /* 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 */) -- cgit v1.1