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

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

Issue 11066043: Block NPAPI plug-ins in Metro mode instead of not loading them at all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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
Index: chrome/browser/plugins/plugin_observer.h
diff --git a/chrome/browser/plugins/plugin_observer.h b/chrome/browser/plugins/plugin_observer.h
index 20e7fbbaf176ea7dfb5a8bb2ecbbe4395afb3700..cbcb4f2f24f93a6cc5bed784d6c0a52ed8e08e82 100644
--- a/chrome/browser/plugins/plugin_observer.h
+++ b/chrome/browser/plugins/plugin_observer.h
@@ -61,6 +61,9 @@ class PluginObserver : public content::WebContentsObserver,
#endif
void OnOpenAboutPlugins();
void OnCouldNotLoadPlugin(const FilePath& plugin_path);
+#if defined(OS_WIN)
+ void OnRestartInDesktopMode();
+#endif
base::WeakPtrFactory<PluginObserver> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698