OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/browser/tabs/tab_strip_model.h" | 10 #include "chrome/browser/tabs/tab_strip_model.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 64 virtual void TabSelectedAt(TabContentsWrapper* old_contents, |
65 TabContentsWrapper* contents, | 65 TabContentsWrapper* contents, |
66 int model_index, | 66 int model_index, |
67 bool user_gesture); | 67 bool user_gesture); |
68 virtual void TabMoved(TabContentsWrapper* contents, | 68 virtual void TabMoved(TabContentsWrapper* contents, |
69 int from_model_index, | 69 int from_model_index, |
70 int to_model_index); | 70 int to_model_index); |
71 virtual void TabChangedAt(TabContentsWrapper* contents, | 71 virtual void TabChangedAt(TabContentsWrapper* contents, |
72 int model_index, | 72 int model_index, |
73 TabChangeType change_type); | 73 TabChangeType change_type); |
74 virtual void TabReplacedAt(TabContentsWrapper* old_contents, | 74 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 75 TabContentsWrapper* old_contents, |
75 TabContentsWrapper* new_contents, | 76 TabContentsWrapper* new_contents, |
76 int model_index); | 77 int model_index); |
77 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, | 78 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, |
78 int model_index); | 79 int model_index); |
79 virtual void TabMiniStateChanged(TabContentsWrapper* contents, | 80 virtual void TabMiniStateChanged(TabContentsWrapper* contents, |
80 int model_index); | 81 int model_index); |
81 virtual void TabBlockedStateChanged(TabContentsWrapper* contents, | 82 virtual void TabBlockedStateChanged(TabContentsWrapper* contents, |
82 int model_index); | 83 int model_index); |
83 | 84 |
84 // NotificationObserver implementation: | 85 // NotificationObserver implementation: |
(...skipping 30 matching lines...) Expand all Loading... |
115 // If non-NULL it means we're showing a menu for the tab. | 116 // If non-NULL it means we're showing a menu for the tab. |
116 scoped_ptr<TabContextMenuContents> context_menu_contents_; | 117 scoped_ptr<TabContextMenuContents> context_menu_contents_; |
117 | 118 |
118 NotificationRegistrar notification_registrar_; | 119 NotificationRegistrar notification_registrar_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); | 121 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); |
121 }; | 122 }; |
122 | 123 |
123 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 124 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
124 | 125 |
OLD | NEW |