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

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

Issue 9428018: Create BaseWindow and ExtensionWindowWrapper for extension API access to Panels (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments. Created 8 years, 10 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/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 26999ee9d2b20e84cc5fe364f3fec259cf02b4b4..921c3681ee35ae26b934c06b5d7522a62896970d 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;
@@ -551,7 +552,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
@@ -885,6 +886,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.
@@ -1456,6 +1461,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_;

Powered by Google App Engine
This is Rietveld 408576698