OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
11 #include "chrome/browser/views/tabs/tab_strip_controller.h" | 11 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" |
12 #include "chrome/common/notification_observer.h" | 12 #include "chrome/common/notification_observer.h" |
13 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
14 | 14 |
15 class BaseTab; | 15 class BaseTab; |
16 class BaseTabStrip; | 16 class BaseTabStrip; |
17 class Browser; | 17 class Browser; |
18 | 18 |
19 struct TabRendererData; | 19 struct TabRendererData; |
20 | 20 |
21 // An implementation of TabStripController that sources data from the | 21 // An implementation of TabStripController that sources data from the |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // If non-NULL it means we're showing a menu for the tab. | 115 // If non-NULL it means we're showing a menu for the tab. |
116 scoped_ptr<TabContextMenuContents> context_menu_contents_; | 116 scoped_ptr<TabContextMenuContents> context_menu_contents_; |
117 | 117 |
118 NotificationRegistrar notification_registrar_; | 118 NotificationRegistrar notification_registrar_; |
119 | 119 |
120 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); | 120 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); |
121 }; | 121 }; |
122 | 122 |
123 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 123 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
124 | 124 |
OLD | NEW |