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

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: Rebase 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
« no previous file with comments | « chrome/browser/ui/base_window.h ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/ui/base_window.h ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698