| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // TabStripModelObserver implementation: | 73 // TabStripModelObserver implementation: |
| 74 virtual void TabInsertedAt(content::WebContents* contents, | 74 virtual void TabInsertedAt(content::WebContents* contents, |
| 75 int model_index, | 75 int model_index, |
| 76 bool is_active) OVERRIDE; | 76 bool is_active) OVERRIDE; |
| 77 virtual void TabDetachedAt(content::WebContents* contents, | 77 virtual void TabDetachedAt(content::WebContents* contents, |
| 78 int model_index) OVERRIDE; | 78 int model_index) OVERRIDE; |
| 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(TabContents* 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(TabContents* contents, | 85 virtual void TabChangedAt(TabContents* 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 TabContents* old_contents, |
| 90 TabContents* new_contents, | 90 TabContents* 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, |
| (...skipping 57 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 |