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

Unified Diff: chrome/browser/ui/views/tabs/tab.h

Issue 2690443002: cros-md: Remove the non-MD immersive mode code paths (Closed)
Patch Set: rebase & code comments 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/tabs/tab.h
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
index 188f87263ab7d1441be3f6059094717d23c8b609..7b7bc644e81e50785ca15f69330a514f3126bb59 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -158,9 +158,6 @@ class Tab : public gfx::AnimationDelegate,
// Returns the width for pinned tabs. Pinned tabs always have this width.
static int GetPinnedWidth();
- // Returns the height for immersive mode tabs.
- static int GetImmersiveHeight();
-
// Returns the inverse of the slope of the diagonal portion of the tab outer
// border. (This is a positive value, so it's specifically for the slope of
// the leading edge.)
@@ -232,9 +229,6 @@ class Tab : public gfx::AnimationDelegate,
// should be clipped against it.
void PaintTab(gfx::Canvas* canvas, const gfx::Path& clip);
- // Paints with the "immersive mode" light-bar style.
- void PaintImmersiveTab(gfx::Canvas* canvas);
-
// Paints the background of an inactive tab.
void PaintInactiveTabBackground(gfx::Canvas* canvas, const gfx::Path& clip);
@@ -296,9 +290,6 @@ class Tab : public gfx::AnimationDelegate,
// Schedules repaint task for icon.
void ScheduleIconPaint();
- // Returns the rectangle for the light bar in immersive mode.
- gfx::Rect GetImmersiveBarRect() const;
-
// The controller, never NULL.
TabController* const controller_;
@@ -317,9 +308,6 @@ class Tab : public gfx::AnimationDelegate,
// crashes.
int favicon_hiding_offset_;
- // Step in the immersive loading progress indicator.
- int immersive_loading_step_;
-
bool should_display_crashed_favicon_;
bool showing_pinned_tab_title_changed_indicator_ = false;
« no previous file with comments | « chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698