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

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

Issue 2368653002: Remove pre-MD code from browser/ui/views/tabs/tab.cc (Closed)
Patch Set: fix compile Created 4 years, 3 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 c02763933008e9c28119290f1a1420b56ec08df6..ba0facadeada233dbefcea4fe329c71fab34210c 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -155,9 +155,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.)
@@ -230,9 +227,6 @@ class Tab : public gfx::AnimationDelegate,
// should be clipped against it.
void PaintTab(gfx::Canvas* canvas, const gfx::Path& clip);
- // Paint with the "immersive mode" light-bar style.
- void PaintImmersiveTab(gfx::Canvas* canvas);
-
// Paint various portions of the Tab.
void PaintInactiveTabBackground(gfx::Canvas* canvas, const gfx::Path& clip);
void PaintTabBackgroundUsingFillId(gfx::Canvas* fill_canvas,
@@ -291,9 +285,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_;
@@ -312,9 +303,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;

Powered by Google App Engine
This is Rietveld 408576698