| 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 "chrome/browser/prefs/pref_change_registrar.h" | 10 #include "chrome/browser/prefs/pref_change_registrar.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 TabContents* new_contents, | 96 TabContents* new_contents, |
| 97 int model_index) OVERRIDE; | 97 int model_index) OVERRIDE; |
| 98 virtual void TabPinnedStateChanged(TabContents* contents, | 98 virtual void TabPinnedStateChanged(TabContents* contents, |
| 99 int model_index) OVERRIDE; | 99 int model_index) OVERRIDE; |
| 100 virtual void TabMiniStateChanged(TabContents* contents, | 100 virtual void TabMiniStateChanged(TabContents* contents, |
| 101 int model_index) OVERRIDE; | 101 int model_index) OVERRIDE; |
| 102 virtual void TabBlockedStateChanged(TabContents* contents, | 102 virtual void TabBlockedStateChanged(TabContents* contents, |
| 103 int model_index) OVERRIDE; | 103 int model_index) OVERRIDE; |
| 104 | 104 |
| 105 // chrome::search::SearchModelObserver implementation: | 105 // chrome::search::SearchModelObserver implementation: |
| 106 virtual void ModeChanged(const chrome::search::Mode& mode) OVERRIDE; | 106 virtual void ModeChanged(const chrome::search::Mode& old_mode, |
| 107 const chrome::search::Mode& new_mode) OVERRIDE; |
| 107 | 108 |
| 108 // chrome::search::ToolbarSearchAnimatorObserver implementation: | 109 // chrome::search::ToolbarSearchAnimatorObserver implementation: |
| 109 virtual void OnToolbarBackgroundAnimatorProgressed() OVERRIDE; | 110 virtual void OnToolbarBackgroundAnimatorProgressed() OVERRIDE; |
| 110 virtual void OnToolbarBackgroundAnimatorCanceled( | 111 virtual void OnToolbarBackgroundAnimatorCanceled( |
| 111 TabContents* tab_contents) OVERRIDE; | 112 TabContents* tab_contents) OVERRIDE; |
| 112 | 113 |
| 113 // content::NotificationObserver implementation: | 114 // content::NotificationObserver implementation: |
| 114 virtual void Observe(int type, | 115 virtual void Observe(int type, |
| 115 const content::NotificationSource& source, | 116 const content::NotificationSource& source, |
| 116 const content::NotificationDetails& details) OVERRIDE; | 117 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 166 |
| 166 // Helper for performing tab selection as a result of dragging over a tab. | 167 // Helper for performing tab selection as a result of dragging over a tab. |
| 167 HoverTabSelector hover_tab_selector_; | 168 HoverTabSelector hover_tab_selector_; |
| 168 | 169 |
| 169 PrefChangeRegistrar local_pref_registrar_; | 170 PrefChangeRegistrar local_pref_registrar_; |
| 170 | 171 |
| 171 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); | 172 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); |
| 172 }; | 173 }; |
| 173 | 174 |
| 174 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 175 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |