OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; | 232 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; |
233 void OnMouseEventInTab(views::View* source, | 233 void OnMouseEventInTab(views::View* source, |
234 const ui::MouseEvent& event) override; | 234 const ui::MouseEvent& event) override; |
235 bool ShouldPaintTab( | 235 bool ShouldPaintTab( |
236 const Tab* tab, | 236 const Tab* tab, |
237 const base::Callback<gfx::Path(const gfx::Size&)>& border_callback, | 237 const base::Callback<gfx::Path(const gfx::Size&)>& border_callback, |
238 gfx::Path* clip) override; | 238 gfx::Path* clip) override; |
239 bool CanPaintThrobberToLayer() const override; | 239 bool CanPaintThrobberToLayer() const override; |
240 bool IsImmersiveStyle() const override; | 240 bool IsImmersiveStyle() const override; |
241 SkColor GetToolbarTopSeparatorColor() const override; | 241 SkColor GetToolbarTopSeparatorColor() const override; |
242 base::string16 GetAccessibleTabName() const override; | |
243 int GetBackgroundResourceId(bool* custom_image) const override; | 242 int GetBackgroundResourceId(bool* custom_image) const override; |
244 void UpdateTabAccessibilityState(const Tab* tab, | 243 void UpdateTabAccessibilityState(const Tab* tab, |
245 ui::AXNodeData* node_data) override; | 244 ui::AXNodeData* node_data) override; |
246 | 245 |
247 // MouseWatcherListener overrides: | 246 // MouseWatcherListener overrides: |
248 void MouseMovedOutOfHost() override; | 247 void MouseMovedOutOfHost() override; |
249 | 248 |
250 // views::View overrides: | 249 // views::View overrides: |
251 void Layout() override; | 250 void Layout() override; |
252 void PaintChildren(const ui::PaintContext& context) override; | 251 void PaintChildren(const ui::PaintContext& context) override; |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 bool immersive_style_; | 653 bool immersive_style_; |
655 | 654 |
656 // Our observers. | 655 // Our observers. |
657 typedef base::ObserverList<TabStripObserver> TabStripObservers; | 656 typedef base::ObserverList<TabStripObserver> TabStripObservers; |
658 TabStripObservers observers_; | 657 TabStripObservers observers_; |
659 | 658 |
660 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 659 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
661 }; | 660 }; |
662 | 661 |
663 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 662 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
OLD | NEW |