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

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

Issue 2702663002: [Merge to M57] cros-md: Remove the non-MD immersive mode code paths (Closed)
Patch Set: Created 3 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/views/frame/immersive_mode_controller_ash.h
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
index 4427bff06884f4d64a43a1a4f050cb38688739da..a4e3cea6fa7b635439151e813393a2561eba0e32 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.h
@@ -37,7 +37,6 @@ class ImmersiveModeControllerAsh
void Init(BrowserView* browser_view) override;
void SetEnabled(bool enabled) override;
bool IsEnabled() const override;
- bool ShouldHideTabIndicators() const override;
bool ShouldHideTopViews() const override;
bool IsRevealed() const override;
int GetTopContainerVerticalOffset(
@@ -55,10 +54,6 @@ class ImmersiveModeControllerAsh
// Updates the browser root view's layout including window caption controls.
void LayoutBrowserRootView();
- // Updates whether the tab strip is painted in a short "light bar" style.
- // Returns true if the visibility of the tab indicators has changed.
- bool UpdateTabIndicators();
-
// Used when running in mash to create |mash_reveal_widget_|. Does nothing
// if already null.
void CreateMashRevealWidget();
@@ -92,18 +87,12 @@ class ImmersiveModeControllerAsh
// fullscreen are enabled.
bool observers_enabled_;
- // Whether a short "light bar" version of the tab strip should be painted when
- // the top-of-window views are closed. If |use_tab_indicators_| is false, the
- // tab strip is not painted at all when the top-of-window views are closed.
- bool use_tab_indicators_;
-
// The current visible bounds of the find bar, in screen coordinates. This is
// an empty rect if the find bar is not visible.
gfx::Rect find_bar_visible_bounds_in_screen_;
// The fraction of the TopContainerView's height which is visible. Zero when
- // the top-of-window views are not revealed regardless of
- // |use_tab_indicators_|.
+ // the top-of-window views are not revealed.
double visible_fraction_;
// When running in mash a widget is created to draw the top container. This

Powered by Google App Engine
This is Rietveld 408576698