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

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

Issue 10119003: Pull shell window stuff out of ExtensionHost and put in ShellWindow (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 90cc69202d249ceb196506370432dabf3bf3f0ed..83525e33e1d560db5ffda50028d93dab3b3c0282 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -7,14 +7,13 @@
#pragma once
#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/extensions/platform_app_host.h"
#include "chrome/browser/sessions/session_id.h"
-#include "chrome/browser/extensions/extension_host.h"
#include "chrome/browser/ui/base_window.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
class Extension;
-class ExtensionHost;
class ExtensionWindowController;
class GURL;
class Profile;
@@ -42,15 +41,15 @@ class ShellWindow : public content::NotificationObserver,
const content::NotificationDetails& details) OVERRIDE;
protected:
- explicit ShellWindow(ExtensionHost* host_);
+ explicit ShellWindow(PlatformAppHost* host_);
virtual ~ShellWindow();
// Instantiates a platform-specific ShellWindow subclass (one implementation
// per platform). Public users of ShellWindow should use ShellWindow::Create.
- static ShellWindow* CreateShellWindow(ExtensionHost* host);
+ static ShellWindow* CreateShellWindow(PlatformAppHost* host);
const SessionID session_id_;
- scoped_ptr<ExtensionHost> host_;
+ scoped_ptr<PlatformAppHost> host_;
content::NotificationRegistrar registrar_;
scoped_ptr<ExtensionWindowController> extension_window_controller_;

Powered by Google App Engine
This is Rietveld 408576698