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

Unified Diff: chrome/browser/plugin_observer.h

Issue 10933044: Move chrome/browser/plugin_* to chrome/browser/plugins/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_plugin_group
Patch Set: . Created 8 years, 3 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/plugin_installer_unittest.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_observer.h
diff --git a/chrome/browser/plugin_observer.h b/chrome/browser/plugin_observer.h
deleted file mode 100644
index 6c568a44d3e2586155a23e56013169d602980abb..0000000000000000000000000000000000000000
--- a/chrome/browser/plugin_observer.h
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_PLUGIN_OBSERVER_H_
-#define CHROME_BROWSER_PLUGIN_OBSERVER_H_
-
-#include "base/memory/weak_ptr.h"
-#include "content/public/browser/web_contents_observer.h"
-
-#if defined(ENABLE_PLUGIN_INSTALLATION)
-#include <map>
-#endif
-
-class GURL;
-class InfoBarDelegate;
-class PluginFinder;
-class TabContents;
-
-#if defined(ENABLE_PLUGIN_INSTALLATION)
-class PluginInstaller;
-class PluginPlaceholderHost;
-#endif
-
-class PluginObserver : public content::WebContentsObserver {
- public:
- explicit PluginObserver(TabContents* tab_contents);
- virtual ~PluginObserver();
-
- // content::WebContentsObserver implementation.
- virtual void PluginCrashed(const FilePath& plugin_path) OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
-#if defined(ENABLE_PLUGIN_INSTALLATION)
- void InstallMissingPlugin(PluginInstaller* installer);
-#endif
-
- TabContents* tab_contents() { return tab_contents_; }
-
- private:
- class PluginPlaceholderHost;
-
- void OnBlockedUnauthorizedPlugin(const string16& name,
- const std::string& identifier);
- void OnBlockedOutdatedPlugin(int placeholder_id,
- const std::string& identifier);
-#if defined(ENABLE_PLUGIN_INSTALLATION)
- void OnFindMissingPlugin(int placeholder_id, const std::string& mime_type);
-
- void FindMissingPlugin(int placeholder_id,
- const std::string& mime_type,
- PluginFinder* plugin_finder);
- void FindPluginToUpdate(int placeholder_id,
- const std::string& identifier,
- PluginFinder* plugin_finder);
- void OnRemovePluginPlaceholderHost(int placeholder_id);
-#endif
- void OnOpenAboutPlugins();
- void OnCouldNotLoadPlugin(const FilePath& plugin_path);
-
- base::WeakPtrFactory<PluginObserver> weak_ptr_factory_;
-
- TabContents* tab_contents_;
-
-#if defined(ENABLE_PLUGIN_INSTALLATION)
- // Stores all PluginPlaceholderHosts, keyed by their routing ID.
- std::map<int, PluginPlaceholderHost*> plugin_placeholders_;
-#endif
-
- DISALLOW_COPY_AND_ASSIGN(PluginObserver);
-};
-
-#endif // CHROME_BROWSER_PLUGIN_OBSERVER_H_
« no previous file with comments | « chrome/browser/plugin_installer_unittest.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698