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

Unified Diff: chrome/browser/plugins/plugin_observer.cc

Issue 1584573004: Remove Metro pinning, and relaunch menu items and strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/plugins/plugin_observer.h ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_observer.cc
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc
index 83857747fc8ca9d42085aaa967df255e55f70770..0f574270415a9e8df03f1865234660a267efacfb 100644
--- a/chrome/browser/plugins/plugin_observer.cc
+++ b/chrome/browser/plugins/plugin_observer.cc
@@ -360,8 +360,6 @@ bool PluginObserver::OnMessageReceived(
OnOpenAboutPlugins)
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CouldNotLoadPlugin,
OnCouldNotLoadPlugin)
- IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported,
- OnNPAPINotSupported)
IPC_MESSAGE_UNHANDLED(return false)
IPC_END_MESSAGE_MAP()
@@ -432,16 +430,3 @@ void PluginObserver::OnCouldNotLoadPlugin(const base::FilePath& plugin_path) {
plugin_name),
true);
}
-
-void PluginObserver::OnNPAPINotSupported(const std::string& identifier) {
-#if defined(OS_WIN) && defined(ENABLE_PLUGIN_INSTALLATION)
- scoped_ptr<PluginMetadata> plugin;
- bool ret = PluginFinder::GetInstance()->FindPluginWithIdentifier(
- identifier, NULL, &plugin);
- DCHECK(ret);
-
- PluginMetroModeInfoBarDelegate::Create(
- InfoBarService::FromWebContents(web_contents()),
- PluginMetroModeInfoBarDelegate::DESKTOP_MODE_REQUIRED, plugin->name());
-#endif
-}
« no previous file with comments | « chrome/browser/plugins/plugin_observer.h ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698