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

Unified Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 48963002: [Refactor] Move the non-browser specific logic of ImmersiveModeControllerAsh into ash part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/views/frame/browser_view.h
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index a518f4ef335fcecb5d1ea83d276566e04fee6927..d103723bf32ec5007817dad0e9b939660b5ba286 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -92,7 +92,6 @@ class BrowserView : public BrowserWindow,
public views::WidgetDelegate,
public views::WidgetObserver,
public views::ClientView,
- public ImmersiveModeController::Delegate,
public InfoBarContainer::Delegate,
public views::SingleSplitViewListener,
public gfx::SysColorChangeListener,
@@ -252,6 +251,11 @@ class BrowserView : public BrowserWindow,
return window_switcher_button_;
}
+ // Called after the widget's fullscreen state is changed without going through
+ // FullscreenController. This method does any processing which was skipped.
+ // Only exiting fullscreen in this way is currently supported.
+ void FullscreenStateChanged();
+
// Called from BookmarkBarView/DownloadShelfView during their show/hide
// animations.
void ToolbarSizeChanged(bool is_animating);
@@ -423,12 +427,6 @@ class BrowserView : public BrowserWindow,
virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
virtual gfx::Size GetMinimumSize() OVERRIDE;
- // ImmersiveModeController::Delegate overrides:
- virtual FullscreenController* GetFullscreenController() OVERRIDE;
- virtual void FullscreenStateChanged() OVERRIDE;
- virtual void SetImmersiveStyle(bool immersive) OVERRIDE;
- virtual content::WebContents* GetWebContents() OVERRIDE;
-
// InfoBarContainer::Delegate overrides
virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE;
virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698