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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.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_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 1a29593c5e0f277843a8f0cfc12781827e6076cb..574e83e4bb0a601e729d17184b01d04d8f8c3a58 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -186,9 +186,6 @@ class TabStrip : public views::View,
// Set the background offset used by inactive tabs to match the frame image.
void SetBackgroundOffset(const gfx::Point& offset);
- // Sets a painting style with miniature "tab indicator" rectangles at the top.
- void SetImmersiveStyle(bool enable);
-
// Returns the alpha that inactive tabs and the new tab button should use to
// blend against the frame background. Inactive tabs and the new tab button
// differ in whether they change alpha when tab multiselection is occurring;
@@ -237,7 +234,6 @@ class TabStrip : public views::View,
const base::Callback<gfx::Path(const gfx::Size&)>& border_callback,
gfx::Path* clip) override;
bool CanPaintThrobberToLayer() const override;
- bool IsImmersiveStyle() const override;
SkColor GetToolbarTopSeparatorColor() const override;
int GetBackgroundResourceId(bool* custom_image) const override;
void UpdateTabAccessibilityState(const Tab* tab,
@@ -260,9 +256,6 @@ class TabStrip : public views::View,
void GetAccessibleState(ui::AXViewState* state) override;
views::View* GetTooltipHandlerForPoint(const gfx::Point& point) override;
- // Returns preferred height in immersive style.
- static int GetImmersiveHeight();
-
private:
typedef std::vector<Tab*> Tabs;
typedef std::map<int, Tabs> TabsClosingMap;
@@ -649,9 +642,6 @@ class TabStrip : public views::View,
// tab close comes from a touch device.
base::OneShotTimer resize_layout_timer_;
- // True if tabs are painted as rectangular light-bars.
- bool immersive_style_;
-
// Our observers.
typedef base::ObserverList<TabStripObserver> TabStripObservers;
TabStripObservers observers_;

Powered by Google App Engine
This is Rietveld 408576698