| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_VIEWS_TABS_TAB_OVERVIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_OVERVIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_OVERVIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_OVERVIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/gfx/rect.h" | 8 #include "base/gfx/rect.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/timer.h" | 10 #include "base/timer.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void GridAnimationCanceled(); | 83 void GridAnimationCanceled(); |
| 84 | 84 |
| 85 // TabStripModelObserver overrides. | 85 // TabStripModelObserver overrides. |
| 86 virtual void TabInsertedAt(TabContents* contents, | 86 virtual void TabInsertedAt(TabContents* contents, |
| 87 int index, | 87 int index, |
| 88 bool foreground); | 88 bool foreground); |
| 89 virtual void TabClosingAt(TabContents* contents, int index); | 89 virtual void TabClosingAt(TabContents* contents, int index); |
| 90 virtual void TabDetachedAt(TabContents* contents, int index); | 90 virtual void TabDetachedAt(TabContents* contents, int index); |
| 91 virtual void TabMoved(TabContents* contents, | 91 virtual void TabMoved(TabContents* contents, |
| 92 int from_index, | 92 int from_index, |
| 93 int to_index); | 93 int to_index, |
| 94 bool pinned_state_changed); |
| 94 virtual void TabChangedAt(TabContents* contents, int index, | 95 virtual void TabChangedAt(TabContents* contents, int index, |
| 95 bool loading_only); | 96 bool loading_only); |
| 96 virtual void TabStripEmpty(); | 97 virtual void TabStripEmpty(); |
| 97 // Currently don't care about these as we're not rendering the selection. | 98 // Currently don't care about these as we're not rendering the selection. |
| 98 virtual void TabDeselectedAt(TabContents* contents, int index) { } | 99 virtual void TabDeselectedAt(TabContents* contents, int index) { } |
| 99 virtual void TabSelectedAt(TabContents* old_contents, | 100 virtual void TabSelectedAt(TabContents* old_contents, |
| 100 TabContents* new_contents, | 101 TabContents* new_contents, |
| 101 int index, | 102 int index, |
| 102 bool user_gesture) { } | 103 bool user_gesture) { } |
| 103 | 104 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 // See description above class for details. | 182 // See description above class for details. |
| 182 base::OneShotTimer<TabOverviewController> delay_timer_; | 183 base::OneShotTimer<TabOverviewController> delay_timer_; |
| 183 | 184 |
| 184 // See description above class for details. | 185 // See description above class for details. |
| 185 base::RepeatingTimer<TabOverviewController> configure_timer_; | 186 base::RepeatingTimer<TabOverviewController> configure_timer_; |
| 186 | 187 |
| 187 DISALLOW_COPY_AND_ASSIGN(TabOverviewController); | 188 DISALLOW_COPY_AND_ASSIGN(TabOverviewController); |
| 188 }; | 189 }; |
| 189 | 190 |
| 190 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_OVERVIEW_CONTROLLER_H_ | 191 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_OVERVIEW_CONTROLLER_H_ |
| OLD | NEW |