| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/prefs/pref_change_registrar.h" | 11 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 12 #include "chrome/browser/ui/tabs/hover_tab_selector.h" | 12 #include "chrome/browser/ui/tabs/hover_tab_selector.h" |
| 13 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 13 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 14 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" | 14 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" |
| 15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
| 17 | 17 |
| 18 class BaseTab; | 18 class BaseTab; |
| 19 class Browser; | 19 class Browser; |
| 20 class TabContents; |
| 21 typedef TabContents TabContentsWrapper; |
| 20 class TabStrip; | 22 class TabStrip; |
| 21 class TabStripSelectionModel; | 23 class TabStripSelectionModel; |
| 22 struct TabRendererData; | 24 struct TabRendererData; |
| 23 | 25 |
| 24 namespace content { | 26 namespace content { |
| 25 class WebContents; | 27 class WebContents; |
| 26 } | 28 } |
| 27 | 29 |
| 28 // An implementation of TabStripController that sources data from the | 30 // An implementation of TabStripController that sources data from the |
| 29 // TabContentsWrappers in a TabStripModel. | 31 // TabContentsWrappers in a TabStripModel. |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 158 |
| 157 // Helper for performing tab selection as a result of dragging over a tab. | 159 // Helper for performing tab selection as a result of dragging over a tab. |
| 158 HoverTabSelector hover_tab_selector_; | 160 HoverTabSelector hover_tab_selector_; |
| 159 | 161 |
| 160 PrefChangeRegistrar local_pref_registrar_; | 162 PrefChangeRegistrar local_pref_registrar_; |
| 161 | 163 |
| 162 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); | 164 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); |
| 163 }; | 165 }; |
| 164 | 166 |
| 165 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ | 167 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |