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

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

Issue 660643002: [Refactor] Move creating a browser if necessary to ExtensionInstallDialogView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui/extensions/extension_enable_flow.h
diff --git a/chrome/browser/ui/extensions/extension_enable_flow.h b/chrome/browser/ui/extensions/extension_enable_flow.h
index 603a0e69262bb210064bc780d3221034ba3d1d21..dc1fbf56d60b3e23c44995e0bf99af3221981027 100644
--- a/chrome/browser/ui/extensions/extension_enable_flow.h
+++ b/chrome/browser/ui/extensions/extension_enable_flow.h
@@ -14,13 +14,11 @@
#include "chrome/browser/extensions/extension_install_prompt.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#include "content/public/browser/page_navigator.h"
#include "extensions/browser/extension_registry_observer.h"
class ExtensionEnableFlowDelegate;
namespace content {
-class PageNavigator;
class WebContents;
}
@@ -36,7 +34,6 @@ class ExtensionRegistry;
// shown to user. The extension is enabled when user acknowledges it or the
// flow is aborted when user declines it.
class ExtensionEnableFlow : public ExtensionInstallPrompt::Delegate,
- public content::PageNavigator,
public content::NotificationObserver,
public extensions::ExtensionRegistryObserver {
public:
@@ -97,10 +94,6 @@ class ExtensionEnableFlow : public ExtensionInstallPrompt::Delegate,
virtual void InstallUIProceed() override;
virtual void InstallUIAbort(bool user_initiated) override;
- // content::PageNavigator overrides:
- virtual content::WebContents* OpenURL(
- const content::OpenURLParams& params) override;
-
Profile* const profile_;
const std::string extension_id_;
ExtensionEnableFlowDelegate* const delegate_; // Not owned.

Powered by Google App Engine
This is Rietveld 408576698