| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 180 |
| 181 // TabController overrides: | 181 // TabController overrides: |
| 182 virtual const ui::ListSelectionModel& GetSelectionModel() OVERRIDE; | 182 virtual const ui::ListSelectionModel& GetSelectionModel() OVERRIDE; |
| 183 virtual bool SupportsMultipleSelection() OVERRIDE; | 183 virtual bool SupportsMultipleSelection() OVERRIDE; |
| 184 virtual void SelectTab(Tab* tab) OVERRIDE; | 184 virtual void SelectTab(Tab* tab) OVERRIDE; |
| 185 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE; | 185 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE; |
| 186 virtual void ToggleSelected(Tab* tab) OVERRIDE; | 186 virtual void ToggleSelected(Tab* tab) OVERRIDE; |
| 187 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE; | 187 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE; |
| 188 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE; | 188 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE; |
| 189 virtual void ShowContextMenuForTab(Tab* tab, | 189 virtual void ShowContextMenuForTab(Tab* tab, |
| 190 const gfx::Point& p) OVERRIDE; | 190 const gfx::Point& p, |
| 191 ui::MenuSourceType source_type) OVERRIDE; |
| 191 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE; | 192 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE; |
| 192 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE; | 193 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE; |
| 193 virtual bool IsTabPinned(const Tab* tab) const OVERRIDE; | 194 virtual bool IsTabPinned(const Tab* tab) const OVERRIDE; |
| 194 virtual void MaybeStartDrag( | 195 virtual void MaybeStartDrag( |
| 195 Tab* tab, | 196 Tab* tab, |
| 196 const ui::LocatedEvent& event, | 197 const ui::LocatedEvent& event, |
| 197 const ui::ListSelectionModel& original_selection) OVERRIDE; | 198 const ui::ListSelectionModel& original_selection) OVERRIDE; |
| 198 virtual void ContinueDrag(views::View* view, | 199 virtual void ContinueDrag(views::View* view, |
| 199 const ui::LocatedEvent& event) OVERRIDE; | 200 const ui::LocatedEvent& event) OVERRIDE; |
| 200 virtual bool EndDrag(EndDragReason reason) OVERRIDE; | 201 virtual bool EndDrag(EndDragReason reason) OVERRIDE; |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 bool immersive_style_; | 614 bool immersive_style_; |
| 614 | 615 |
| 615 // Our observers. | 616 // Our observers. |
| 616 typedef ObserverList<TabStripObserver> TabStripObservers; | 617 typedef ObserverList<TabStripObserver> TabStripObservers; |
| 617 TabStripObservers observers_; | 618 TabStripObservers observers_; |
| 618 | 619 |
| 619 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 620 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
| 620 }; | 621 }; |
| 621 | 622 |
| 622 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 623 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
| OLD | NEW |