| 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..9c48e515252ebec9f52ec78bd31870c66d61748f 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,8 +257,9 @@ 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();
|
| + // A set method to update whether tabstrip is on offscreen state, this could
|
| + // happen when browser window is in immersive fullscreen unrevealed state.
|
| + void set_offscreen(bool offscreen) { offscreen_ = offscreen; }
|
|
|
| private:
|
| typedef std::vector<Tab*> Tabs;
|
| @@ -650,8 +647,8 @@ 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_;
|
| + // True if tabstrip is completely offscreen, otherwise false.
|
| + bool offscreen_;
|
|
|
| // Our observers.
|
| typedef base::ObserverList<TabStripObserver> TabStripObservers;
|
|
|