| 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_BROWSER_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/prefs/pref_change_registrar.h" | 10 #include "base/prefs/pref_change_registrar.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 virtual bool IsActiveTab(int model_index) const OVERRIDE; | 51 virtual bool IsActiveTab(int model_index) const OVERRIDE; |
| 52 virtual int GetActiveIndex() const OVERRIDE; | 52 virtual int GetActiveIndex() const OVERRIDE; |
| 53 virtual bool IsTabSelected(int model_index) const OVERRIDE; | 53 virtual bool IsTabSelected(int model_index) const OVERRIDE; |
| 54 virtual bool IsTabPinned(int model_index) const OVERRIDE; | 54 virtual bool IsTabPinned(int model_index) const OVERRIDE; |
| 55 virtual bool IsNewTabPage(int model_index) const OVERRIDE; | 55 virtual bool IsNewTabPage(int model_index) const OVERRIDE; |
| 56 virtual void SelectTab(int model_index) OVERRIDE; | 56 virtual void SelectTab(int model_index) OVERRIDE; |
| 57 virtual void ExtendSelectionTo(int model_index) OVERRIDE; | 57 virtual void ExtendSelectionTo(int model_index) OVERRIDE; |
| 58 virtual void ToggleSelected(int model_index) OVERRIDE; | 58 virtual void ToggleSelected(int model_index) OVERRIDE; |
| 59 virtual void AddSelectionFromAnchorTo(int model_index) OVERRIDE; | 59 virtual void AddSelectionFromAnchorTo(int model_index) OVERRIDE; |
| 60 virtual void CloseTab(int model_index, CloseTabSource source) OVERRIDE; | 60 virtual void CloseTab(int model_index, CloseTabSource source) OVERRIDE; |
| 61 virtual void ToggleTabAudioMute(int model_index) OVERRIDE; |
| 61 virtual void ShowContextMenuForTab(Tab* tab, | 62 virtual void ShowContextMenuForTab(Tab* tab, |
| 62 const gfx::Point& p, | 63 const gfx::Point& p, |
| 63 ui::MenuSourceType source_type) OVERRIDE; | 64 ui::MenuSourceType source_type) OVERRIDE; |
| 64 virtual void UpdateLoadingAnimations() OVERRIDE; | 65 virtual void UpdateLoadingAnimations() OVERRIDE; |
| 65 virtual int HasAvailableDragActions() const OVERRIDE; | 66 virtual int HasAvailableDragActions() const OVERRIDE; |
| 66 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE; | 67 virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE; |
| 67 virtual void PerformDrop(bool drop_before, | 68 virtual void PerformDrop(bool drop_before, |
| 68 int index, | 69 int index, |
| 69 const GURL& url) OVERRIDE; | 70 const GURL& url) OVERRIDE; |
| 70 virtual bool IsCompatibleWith(TabStrip* other) const OVERRIDE; | 71 virtual bool IsCompatibleWith(TabStrip* other) const OVERRIDE; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_; | 165 scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_; |
| 165 | 166 |
| 166 PrefChangeRegistrar local_pref_registrar_; | 167 PrefChangeRegistrar local_pref_registrar_; |
| 167 | 168 |
| 168 base::WeakPtrFactory<BrowserTabStripController> weak_ptr_factory_; | 169 base::WeakPtrFactory<BrowserTabStripController> weak_ptr_factory_; |
| 169 | 170 |
| 170 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); | 171 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); |
| 171 }; | 172 }; |
| 172 | 173 |
| 173 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 174 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |