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; | |
228 bool IsImmersiveStyle() const override; | 227 bool IsImmersiveStyle() const override; |
229 void UpdateTabAccessibilityState(const Tab* tab, | 228 void UpdateTabAccessibilityState(const Tab* tab, |
230 ui::AXViewState* state) override; | 229 ui::AXViewState* state) override; |
231 | 230 |
232 // MouseWatcherListener overrides: | 231 // MouseWatcherListener overrides: |
233 void MouseMovedOutOfHost() override; | 232 void MouseMovedOutOfHost() override; |
234 | 233 |
235 // views::View overrides: | 234 // views::View overrides: |
236 void Layout() override; | 235 void Layout() override; |
237 void PaintChildren(const ui::PaintContext& context) override; | 236 void PaintChildren(const ui::PaintContext& context) override; |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 bool immersive_style_; | 639 bool immersive_style_; |
641 | 640 |
642 // Our observers. | 641 // Our observers. |
643 typedef base::ObserverList<TabStripObserver> TabStripObservers; | 642 typedef base::ObserverList<TabStripObserver> TabStripObservers; |
644 TabStripObservers observers_; | 643 TabStripObservers observers_; |
645 | 644 |
646 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 645 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
647 }; | 646 }; |
648 | 647 |
649 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 648 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
OLD | NEW |