| 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_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 50 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 51 class OneClickSigninHelper; | 51 class OneClickSigninHelper; |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 namespace browser_sync { | 54 namespace browser_sync { |
| 55 class SyncedTabDelegate; | 55 class SyncedTabDelegate; |
| 56 } | 56 } |
| 57 | 57 |
| 58 namespace extensions { | 58 namespace extensions { |
| 59 class ActionBoxController; |
| 59 class ScriptExecutor; | 60 class ScriptExecutor; |
| 60 class WebNavigationTabObserver; | 61 class WebNavigationTabObserver; |
| 61 } | 62 } |
| 62 | 63 |
| 63 namespace prerender { | 64 namespace prerender { |
| 64 class PrerenderTabHelper; | 65 class PrerenderTabHelper; |
| 65 } | 66 } |
| 66 | 67 |
| 67 namespace printing { | 68 namespace printing { |
| 68 class PrintViewManager; | 69 class PrintViewManager; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ConstrainedWindowTabHelper* constrained_window_tab_helper() { | 131 ConstrainedWindowTabHelper* constrained_window_tab_helper() { |
| 131 return constrained_window_tab_helper_.get(); | 132 return constrained_window_tab_helper_.get(); |
| 132 } | 133 } |
| 133 | 134 |
| 134 CoreTabHelper* core_tab_helper() { return core_tab_helper_.get(); } | 135 CoreTabHelper* core_tab_helper() { return core_tab_helper_.get(); } |
| 135 | 136 |
| 136 extensions::ScriptExecutor* extension_script_executor() { | 137 extensions::ScriptExecutor* extension_script_executor() { |
| 137 return extension_script_executor_.get(); | 138 return extension_script_executor_.get(); |
| 138 } | 139 } |
| 139 | 140 |
| 141 extensions::ActionBoxController* extension_action_box_controller() { |
| 142 return extension_action_box_controller_.get(); |
| 143 } |
| 144 |
| 140 ExtensionTabHelper* extension_tab_helper() { | 145 ExtensionTabHelper* extension_tab_helper() { |
| 141 return extension_tab_helper_.get(); | 146 return extension_tab_helper_.get(); |
| 142 } | 147 } |
| 143 | 148 |
| 144 const ExtensionTabHelper* extension_tab_helper() const { | 149 const ExtensionTabHelper* extension_tab_helper() const { |
| 145 return extension_tab_helper_.get(); | 150 return extension_tab_helper_.get(); |
| 146 } | 151 } |
| 147 | 152 |
| 148 FaviconTabHelper* favicon_tab_helper() { return favicon_tab_helper_.get(); } | 153 FaviconTabHelper* favicon_tab_helper() { return favicon_tab_helper_.get(); } |
| 149 FindTabHelper* find_tab_helper() { return find_tab_helper_.get(); } | 154 FindTabHelper* find_tab_helper() { return find_tab_helper_.get(); } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 233 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
| 229 scoped_refptr<AutofillManager> autofill_manager_; | 234 scoped_refptr<AutofillManager> autofill_manager_; |
| 230 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 235 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
| 231 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 236 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
| 232 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 237 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
| 233 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 238 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
| 234 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 239 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
| 235 scoped_ptr<CoreTabHelper> core_tab_helper_; | 240 scoped_ptr<CoreTabHelper> core_tab_helper_; |
| 236 scoped_ptr<extensions::ScriptExecutor> extension_script_executor_; | 241 scoped_ptr<extensions::ScriptExecutor> extension_script_executor_; |
| 237 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; | 242 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; |
| 243 scoped_ptr<extensions::ActionBoxController> extension_action_box_controller_; |
| 238 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 244 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
| 239 scoped_ptr<FindTabHelper> find_tab_helper_; | 245 scoped_ptr<FindTabHelper> find_tab_helper_; |
| 240 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 246 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
| 241 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; | 247 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; |
| 242 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; | 248 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; |
| 243 | 249 |
| 244 // PasswordManager and its delegate. The delegate must outlive the manager, | 250 // PasswordManager and its delegate. The delegate must outlive the manager, |
| 245 // per documentation in password_manager.h. | 251 // per documentation in password_manager.h. |
| 246 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; | 252 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; |
| 247 scoped_ptr<PasswordManager> password_manager_; | 253 scoped_ptr<PasswordManager> password_manager_; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 300 |
| 295 // The supporting objects need to outlive the WebContents dtor (as they may | 301 // The supporting objects need to outlive the WebContents dtor (as they may |
| 296 // be called upon during its execution). As a result, this must come last | 302 // be called upon during its execution). As a result, this must come last |
| 297 // in the list. | 303 // in the list. |
| 298 scoped_ptr<content::WebContents> web_contents_; | 304 scoped_ptr<content::WebContents> web_contents_; |
| 299 | 305 |
| 300 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 306 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
| 301 }; | 307 }; |
| 302 | 308 |
| 303 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 309 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| OLD | NEW |