| Index: chrome/browser/ui/browser.h
|
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
| index d505f9efe42c1497aa27ce0d3141f7a0aa87fc15..966b400244a06d406e6be909d0e1898c00746767 100644
|
| --- a/chrome/browser/ui/browser.h
|
| +++ b/chrome/browser/ui/browser.h
|
| @@ -56,6 +56,7 @@ class BrowserSyncedWindowDelegate;
|
| class BrowserTabRestoreServiceDelegate;
|
| class BrowserWindow;
|
| class Extension;
|
| +class ExtensionWindowController;
|
| class FindBarController;
|
| class FullscreenController;
|
| class HtmlDialogUIDelegate;
|
| @@ -556,7 +557,7 @@ class Browser : public TabHandlerDelegate,
|
| void ToggleFullscreenMode();
|
| // See the description of
|
| // FullscreenController::ToggleFullscreenModeWithExtension.
|
| - void ToggleFullscreenModeWithExtension(const Extension& extension);
|
| + void ToggleFullscreenModeWithExtension(const GURL& extension_url);
|
| #if defined(OS_MACOSX)
|
| void TogglePresentationMode();
|
| #endif
|
| @@ -890,6 +891,10 @@ class Browser : public TabHandlerDelegate,
|
| // Show the first run search engine bubble on the location bar.
|
| void ShowFirstRunBubble();
|
|
|
| + ExtensionWindowController* extension_window_controller() const {
|
| + return extension_window_controller_.get();
|
| + }
|
| +
|
| protected:
|
| // Wrapper for the factory method in BrowserWindow. This allows subclasses to
|
| // set their own window.
|
| @@ -1461,6 +1466,8 @@ class Browser : public TabHandlerDelegate,
|
|
|
| scoped_refptr<FullscreenController> fullscreen_controller_;
|
|
|
| + scoped_ptr<ExtensionWindowController> extension_window_controller_;
|
| +
|
| // True if the browser window has been shown at least once.
|
| bool window_has_shown_;
|
|
|
|
|