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

Unified Diff: chrome/browser/ui/extensions/shell_window.h

Issue 9169042: Block plugins for platform apps (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix plugin_tests on linux Created 8 years, 10 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/ui/extensions/shell_window.h
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
index 232f9af68daebce0c0c78852fb6072b39438d73f..2570146f237f1d2699506597b7db719da3f21e6a 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -10,7 +10,6 @@
#include "chrome/browser/extensions/extension_host.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#include "content/public/browser/web_contents_observer.h"
class GURL;
class Extension;
@@ -19,11 +18,9 @@ class Profile;
namespace content {
class WebContents;
-class RenderProcessHost;
}
-class ShellWindow : public content::NotificationObserver,
- public content::WebContentsObserver {
+class ShellWindow : public content::NotificationObserver {
public:
content::WebContents* web_contents() const { return host_->host_contents(); }
@@ -39,9 +36,6 @@ class ShellWindow : public content::NotificationObserver,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // content::WebContentsObserver
- virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
-
protected:
explicit ShellWindow(ExtensionHost* host_);
virtual ~ShellWindow();
@@ -55,12 +49,6 @@ class ShellWindow : public content::NotificationObserver,
content::NotificationRegistrar registrar_;
private:
- // Disable NPAPI plugins for this shell window.
- void DisableNPAPIPlugins();
-
- // Clear information about disabled NPAPI plugins for this shell window.
- void ClearDisabledNPAPIPlugins();
-
DISALLOW_COPY_AND_ASSIGN(ShellWindow);
};
« no previous file with comments | « chrome/browser/content_settings/host_content_settings_map.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698