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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.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_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 4512b4dd295d8ea1bfa3442cd59275cfa6a6f324..163a628bc2b41dd55253ba297381127aa0d6c36c 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;
base::string16 GetAccessibleTabName(const Tab* tab) const override;
int GetBackgroundResourceId(bool* custom_image) const override;
@@ -261,9 +257,6 @@ class TabStrip : public views::View,
void GetAccessibleNodeData(ui::AXNodeData* node_data) 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;
@@ -650,9 +643,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_;
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698