| 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 void MaybeStartDrag( | 223 void MaybeStartDrag( |
| 224 Tab* tab, | 224 Tab* tab, |
| 225 const ui::LocatedEvent& event, | 225 const ui::LocatedEvent& event, |
| 226 const ui::ListSelectionModel& original_selection) override; | 226 const ui::ListSelectionModel& original_selection) override; |
| 227 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override; | 227 void ContinueDrag(views::View* view, const ui::LocatedEvent& event) override; |
| 228 bool EndDrag(EndDragReason reason) override; | 228 bool EndDrag(EndDragReason reason) override; |
| 229 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; | 229 Tab* GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) override; |
| 230 void OnMouseEventInTab(views::View* source, | 230 void OnMouseEventInTab(views::View* source, |
| 231 const ui::MouseEvent& event) override; | 231 const ui::MouseEvent& event) override; |
| 232 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override; | 232 bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) override; |
| 233 bool CanPaintThrobberToLayer() const override; |
| 233 bool IsImmersiveStyle() const override; | 234 bool IsImmersiveStyle() const override; |
| 234 int GetBackgroundResourceId(bool* custom_image) const override; | 235 int GetBackgroundResourceId(bool* custom_image) const override; |
| 235 void UpdateTabAccessibilityState(const Tab* tab, | 236 void UpdateTabAccessibilityState(const Tab* tab, |
| 236 ui::AXViewState* state) override; | 237 ui::AXViewState* state) override; |
| 237 | 238 |
| 238 // MouseWatcherListener overrides: | 239 // MouseWatcherListener overrides: |
| 239 void MouseMovedOutOfHost() override; | 240 void MouseMovedOutOfHost() override; |
| 240 | 241 |
| 241 // views::View overrides: | 242 // views::View overrides: |
| 242 void Layout() override; | 243 void Layout() override; |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 bool immersive_style_; | 647 bool immersive_style_; |
| 647 | 648 |
| 648 // Our observers. | 649 // Our observers. |
| 649 typedef base::ObserverList<TabStripObserver> TabStripObservers; | 650 typedef base::ObserverList<TabStripObserver> TabStripObservers; |
| 650 TabStripObservers observers_; | 651 TabStripObservers observers_; |
| 651 | 652 |
| 652 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 653 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
| 653 }; | 654 }; |
| 654 | 655 |
| 655 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 656 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
| OLD | NEW |