| 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/public/pref_change_registrar.h" | 10 #include "base/prefs/public/pref_change_registrar.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual void TabSelectionChanged( | 79 virtual void TabSelectionChanged( |
| 80 TabStripModel* tab_strip_model, | 80 TabStripModel* tab_strip_model, |
| 81 const TabStripSelectionModel& old_model) OVERRIDE; | 81 const TabStripSelectionModel& old_model) OVERRIDE; |
| 82 virtual void TabMoved(content::WebContents* contents, | 82 virtual void TabMoved(content::WebContents* contents, |
| 83 int from_model_index, | 83 int from_model_index, |
| 84 int to_model_index) OVERRIDE; | 84 int to_model_index) OVERRIDE; |
| 85 virtual void TabChangedAt(content::WebContents* contents, | 85 virtual void TabChangedAt(content::WebContents* contents, |
| 86 int model_index, | 86 int model_index, |
| 87 TabChangeType change_type) OVERRIDE; | 87 TabChangeType change_type) OVERRIDE; |
| 88 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 88 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 89 TabContents* old_contents, | 89 content::WebContents* old_contents, |
| 90 TabContents* new_contents, | 90 content::WebContents* new_contents, |
| 91 int model_index) OVERRIDE; | 91 int model_index) OVERRIDE; |
| 92 virtual void TabPinnedStateChanged(content::WebContents* contents, | 92 virtual void TabPinnedStateChanged(content::WebContents* contents, |
| 93 int model_index) OVERRIDE; | 93 int model_index) OVERRIDE; |
| 94 virtual void TabMiniStateChanged(content::WebContents* contents, | 94 virtual void TabMiniStateChanged(content::WebContents* contents, |
| 95 int model_index) OVERRIDE; | 95 int model_index) OVERRIDE; |
| 96 virtual void TabBlockedStateChanged(content::WebContents* contents, | 96 virtual void TabBlockedStateChanged(content::WebContents* contents, |
| 97 int model_index) OVERRIDE; | 97 int model_index) OVERRIDE; |
| 98 | 98 |
| 99 // PrefObserver implementation: | 99 // PrefObserver implementation: |
| 100 virtual void OnPreferenceChanged(PrefServiceBase* service, | 100 virtual void OnPreferenceChanged(PrefServiceBase* service, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 150 |
| 151 // Helper for performing tab selection as a result of dragging over a tab. | 151 // Helper for performing tab selection as a result of dragging over a tab. |
| 152 HoverTabSelector hover_tab_selector_; | 152 HoverTabSelector hover_tab_selector_; |
| 153 | 153 |
| 154 PrefChangeRegistrar local_pref_registrar_; | 154 PrefChangeRegistrar local_pref_registrar_; |
| 155 | 155 |
| 156 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); | 156 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 159 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |