| 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_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class ConstrainedWebDialogDelegateBase; | 24 class ConstrainedWebDialogDelegateBase; |
| 25 class ConstrainedWindowTabHelper; | 25 class ConstrainedWindowTabHelper; |
| 26 class ExtensionTabUtil; | 26 class ExtensionTabUtil; |
| 27 class ExternalProtocolObserver; | 27 class ExternalProtocolObserver; |
| 28 class ExternalTabContainerWin; | 28 class ExternalTabContainerWin; |
| 29 class FaviconTabHelper; | 29 class FaviconTabHelper; |
| 30 class FindBackendTestContentsCreator; | 30 class FindBackendTestContentsCreator; |
| 31 class FindTabHelper; | 31 class FindTabHelper; |
| 32 class GeolocationPermissionContextTests; | 32 class GeolocationPermissionContextTests; |
| 33 class HistoryTabHelper; | 33 class HistoryTabHelper; |
| 34 class HungPluginTabHelper; | |
| 35 class InfoBarControllerContentsCreator; | 34 class InfoBarControllerContentsCreator; |
| 36 class InfoBarTabHelper; | 35 class InfoBarTabHelper; |
| 37 class InstantLoader; | 36 class InstantLoader; |
| 38 class NavigationMetricsRecorder; | 37 class NavigationMetricsRecorder; |
| 39 class OffscreenTabContentsCreator; | 38 class OffscreenTabContentsCreator; |
| 40 class PanelHost; | 39 class PanelHost; |
| 41 class PasswordManager; | 40 class PasswordManager; |
| 42 class PasswordManagerDelegate; | 41 class PasswordManagerDelegate; |
| 43 class PepperBrokerObserver; | 42 class PepperBrokerObserver; |
| 44 class PluginObserver; | 43 class PluginObserver; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 return automation_tab_helper_.get(); | 177 return automation_tab_helper_.get(); |
| 179 } | 178 } |
| 180 | 179 |
| 181 ConstrainedWindowTabHelper* constrained_window_tab_helper() { | 180 ConstrainedWindowTabHelper* constrained_window_tab_helper() { |
| 182 return constrained_window_tab_helper_.get(); | 181 return constrained_window_tab_helper_.get(); |
| 183 } | 182 } |
| 184 | 183 |
| 185 FaviconTabHelper* favicon_tab_helper() { return favicon_tab_helper_.get(); } | 184 FaviconTabHelper* favicon_tab_helper() { return favicon_tab_helper_.get(); } |
| 186 FindTabHelper* find_tab_helper() { return find_tab_helper_.get(); } | 185 FindTabHelper* find_tab_helper() { return find_tab_helper_.get(); } |
| 187 HistoryTabHelper* history_tab_helper() { return history_tab_helper_.get(); } | 186 HistoryTabHelper* history_tab_helper() { return history_tab_helper_.get(); } |
| 188 HungPluginTabHelper* hung_plugin_tab_helper() { | |
| 189 return hung_plugin_tab_helper_.get(); | |
| 190 } | |
| 191 InfoBarTabHelper* infobar_tab_helper() { return infobar_tab_helper_.get(); } | 187 InfoBarTabHelper* infobar_tab_helper() { return infobar_tab_helper_.get(); } |
| 192 | 188 |
| 193 PasswordManager* password_manager() { return password_manager_.get(); } | 189 PasswordManager* password_manager() { return password_manager_.get(); } |
| 194 PrefsTabHelper* prefs_tab_helper() { return prefs_tab_helper_.get(); } | 190 PrefsTabHelper* prefs_tab_helper() { return prefs_tab_helper_.get(); } |
| 195 | 191 |
| 196 prerender::PrerenderTabHelper* prerender_tab_helper() { | 192 prerender::PrerenderTabHelper* prerender_tab_helper() { |
| 197 return prerender_tab_helper_.get(); | 193 return prerender_tab_helper_.get(); |
| 198 } | 194 } |
| 199 | 195 |
| 200 SearchEngineTabHelper* search_engine_tab_helper() { | 196 SearchEngineTabHelper* search_engine_tab_helper() { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 244 |
| 249 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 245 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
| 250 scoped_refptr<AutofillManager> autofill_manager_; | 246 scoped_refptr<AutofillManager> autofill_manager_; |
| 251 scoped_ptr<TabAutofillManagerDelegate> autofill_delegate_; | 247 scoped_ptr<TabAutofillManagerDelegate> autofill_delegate_; |
| 252 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 248 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
| 253 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 249 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
| 254 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 250 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
| 255 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 251 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
| 256 scoped_ptr<FindTabHelper> find_tab_helper_; | 252 scoped_ptr<FindTabHelper> find_tab_helper_; |
| 257 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 253 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
| 258 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; | |
| 259 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; | 254 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; |
| 260 | 255 |
| 261 // PasswordManager and its delegate. The delegate must outlive the manager, | 256 // PasswordManager and its delegate. The delegate must outlive the manager, |
| 262 // per documentation in password_manager.h. | 257 // per documentation in password_manager.h. |
| 263 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; | 258 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; |
| 264 scoped_ptr<PasswordManager> password_manager_; | 259 scoped_ptr<PasswordManager> password_manager_; |
| 265 | 260 |
| 266 scoped_ptr<PrefsTabHelper> prefs_tab_helper_; | 261 scoped_ptr<PrefsTabHelper> prefs_tab_helper_; |
| 267 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_; | 262 scoped_ptr<prerender::PrerenderTabHelper> prerender_tab_helper_; |
| 268 | 263 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 295 |
| 301 // The supporting objects need to outlive the WebContents dtor (as they may | 296 // The supporting objects need to outlive the WebContents dtor (as they may |
| 302 // be called upon during its execution). As a result, this must come last | 297 // be called upon during its execution). As a result, this must come last |
| 303 // in the list. | 298 // in the list. |
| 304 scoped_ptr<content::WebContents> web_contents_; | 299 scoped_ptr<content::WebContents> web_contents_; |
| 305 | 300 |
| 306 DISALLOW_COPY_AND_ASSIGN(TabContents); | 301 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 307 }; | 302 }; |
| 308 | 303 |
| 309 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 304 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |