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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 void MaybeStartDrag( | 217 void MaybeStartDrag( |
218 Tab* tab, | 218 Tab* tab, |
219 const ui::LocatedEvent& event, | 219 const ui::LocatedEvent& event, |
220 const ui::ListSelectionModel& original_selection) override; | 220 const ui::ListSelectionModel& original_selection) override; |
221 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override; | 221 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override; |
222 bool EndDrag(EndDragReason reason) override; | 222 bool EndDrag(EndDragReason reason) override; |
223 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; | 223 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; |
224 void OnMouseEventInTab(views::View* source, | 224 void OnMouseEventInTab(views::View* source, |
225 const ui::MouseEvent& event) override; | 225 const ui::MouseEvent& event) override; |
226 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override; | 226 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override; |
| 227 bool CanPaintThrobberToLayer() const override; |
227 bool IsImmersiveStyle() const override; | 228 bool IsImmersiveStyle() const override; |
228 void UpdateTabAccessibilityState(const Tab* tab, | 229 void UpdateTabAccessibilityState(const Tab* tab, |
229 ui::AXViewState* state) override; | 230 ui::AXViewState* state) override; |
230 | 231 |
231 // MouseWatcherListener overrides: | 232 // MouseWatcherListener overrides: |
232 void MouseMovedOutOfHost() override; | 233 void MouseMovedOutOfHost() override; |
233 | 234 |
234 // views::View overrides: | 235 // views::View overrides: |
235 void Layout() override; | 236 void Layout() override; |
236 void PaintChildren(const ui::PaintContext& context) override; | 237 void PaintChildren(const ui::PaintContext& context) override; |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 bool immersive_style_; | 640 bool immersive_style_; |
640 | 641 |
641 // Our observers. | 642 // Our observers. |
642 typedef base::ObserverList<TabStripObserver> TabStripObservers; | 643 typedef base::ObserverList<TabStripObserver> TabStripObservers; |
643 TabStripObservers observers_; | 644 TabStripObservers observers_; |
644 | 645 |
645 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 646 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
646 }; | 647 }; |
647 | 648 |
648 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 649 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
OLD | NEW |