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

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

Issue 2690443002: cros-md: Remove the non-MD immersive mode code paths (Closed)
Patch Set: remove pre-md tabstrip related code and fix Tabstrip::GetPreferredSize 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/browser_non_client_frame_view_mus.h
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h
index b25f59b4790a32ea5f42f848713341e334f37528..dcf927f080986657bed1e7df7a4cd0ce66bb6375 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h
@@ -77,10 +77,8 @@ class BrowserNonClientFrameViewMus : public BrowserNonClientFrameView,
// strip.
int GetTabStripRightInset() const;
- // Returns true if we should use a super short header with light bars instead
- // of regular tabs. This header is used in immersive fullscreen when the
- // top-of-window views are not revealed.
- bool UseImmersiveLightbarHeaderStyle() const;
+ // Returns true if immersive mode is enabled and not revealed.
+ bool IsImmersiveFullscreenUnrevealed() const;
// Returns true if the header should be painted so that it looks the same as
// the header used for packaged apps. Packaged apps use a different color
@@ -97,10 +95,6 @@ class BrowserNonClientFrameViewMus : public BrowserNonClientFrameView,
// need their frames painted.
bool ShouldPaint() const;
- // Paints the header background when the frame is in immersive fullscreen and
- // tab light bar is visible.
- void PaintImmersiveLightbarStyleHeader(gfx::Canvas* canvas);
-
void PaintToolbarBackground(gfx::Canvas* canvas);
// Draws the line under the header for windows without a toolbar and not using

Powered by Google App Engine
This is Rietveld 408576698