| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 const ui::ListSelectionModel& original_selection) OVERRIDE; | 223 const ui::ListSelectionModel& original_selection) OVERRIDE; |
| 224 virtual void ContinueDrag(views::View* view, | 224 virtual void ContinueDrag(views::View* view, |
| 225 const ui::LocatedEvent& event) OVERRIDE; | 225 const ui::LocatedEvent& event) OVERRIDE; |
| 226 virtual bool EndDrag(EndDragReason reason) OVERRIDE; | 226 virtual bool EndDrag(EndDragReason reason) OVERRIDE; |
| 227 virtual Tab* GetTabAt(Tab* tab, | 227 virtual Tab* GetTabAt(Tab* tab, |
| 228 const gfx::Point& tab_in_tab_coordinates) OVERRIDE; | 228 const gfx::Point& tab_in_tab_coordinates) OVERRIDE; |
| 229 virtual void OnMouseEventInTab(views::View* source, | 229 virtual void OnMouseEventInTab(views::View* source, |
| 230 const ui::MouseEvent& event) OVERRIDE; | 230 const ui::MouseEvent& event) OVERRIDE; |
| 231 virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) OVERRIDE; | 231 virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) OVERRIDE; |
| 232 virtual bool IsImmersiveStyle() const OVERRIDE; | 232 virtual bool IsImmersiveStyle() const OVERRIDE; |
| 233 virtual void UpdateTabAccessibilityState(const Tab* tab, |
| 234 ui::AXViewState* state) OVERRIDE; |
| 233 | 235 |
| 234 // MouseWatcherListener overrides: | 236 // MouseWatcherListener overrides: |
| 235 virtual void MouseMovedOutOfHost() OVERRIDE; | 237 virtual void MouseMovedOutOfHost() OVERRIDE; |
| 236 | 238 |
| 237 // views::View overrides: | 239 // views::View overrides: |
| 238 virtual void Layout() OVERRIDE; | 240 virtual void Layout() OVERRIDE; |
| 239 virtual void PaintChildren(gfx::Canvas* canvas, | 241 virtual void PaintChildren(gfx::Canvas* canvas, |
| 240 const views::CullSet& cull_set) OVERRIDE; | 242 const views::CullSet& cull_set) OVERRIDE; |
| 241 virtual const char* GetClassName() const OVERRIDE; | 243 virtual const char* GetClassName() const OVERRIDE; |
| 242 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 244 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 bool immersive_style_; | 673 bool immersive_style_; |
| 672 | 674 |
| 673 // Our observers. | 675 // Our observers. |
| 674 typedef ObserverList<TabStripObserver> TabStripObservers; | 676 typedef ObserverList<TabStripObserver> TabStripObservers; |
| 675 TabStripObservers observers_; | 677 TabStripObservers observers_; |
| 676 | 678 |
| 677 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 679 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
| 678 }; | 680 }; |
| 679 | 681 |
| 680 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 682 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
| OLD | NEW |