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