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

Unified Diff: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.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: Comments Created 8 years, 7 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/cocoa/extensions/shell_window_cocoa.h
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
index d4d0f69a7cc152ecb1945793086bc94b124e0720..b5020ec0cc7bcfbfa655caa0a73e18ec10c92303 100644
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
@@ -13,7 +13,7 @@
#include "chrome/browser/ui/extensions/shell_window.h"
#include "ui/gfx/rect.h"
-class ExtensionHost;
+class Profile;
class ShellWindowCocoa;
// A window controller for a minimal window to host a web app view. Passes
@@ -30,7 +30,9 @@ class ShellWindowCocoa;
// Cocoa bridge to ShellWindow.
class ShellWindowCocoa : public ShellWindow {
public:
- explicit ShellWindowCocoa(ExtensionHost* host);
+ ShellWindowCocoa(Profile* profile,
+ const Extension* extension,
+ const GURL& url);
// BaseWindow implementation.
virtual bool IsActive() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698