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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 class WebIntentPickerController; | 48 class WebIntentPickerController; |
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 captive_portal { |
| 59 class CaptivePortalTabHelper; |
| 60 } |
| 61 |
58 namespace extensions { | 62 namespace extensions { |
59 class WebNavigationTabObserver; | 63 class WebNavigationTabObserver; |
60 } | 64 } |
61 | 65 |
62 namespace prerender { | 66 namespace prerender { |
63 class PrerenderTabHelper; | 67 class PrerenderTabHelper; |
64 } | 68 } |
65 | 69 |
66 namespace printing { | 70 namespace printing { |
67 class PrintViewManager; | 71 class PrintViewManager; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 } | 123 } |
120 | 124 |
121 BlockedContentTabHelper* blocked_content_tab_helper() { | 125 BlockedContentTabHelper* blocked_content_tab_helper() { |
122 return blocked_content_tab_helper_.get(); | 126 return blocked_content_tab_helper_.get(); |
123 } | 127 } |
124 | 128 |
125 BookmarkTabHelper* bookmark_tab_helper() { | 129 BookmarkTabHelper* bookmark_tab_helper() { |
126 return bookmark_tab_helper_.get(); | 130 return bookmark_tab_helper_.get(); |
127 } | 131 } |
128 | 132 |
| 133 #if !defined(OS_ANDROID) |
| 134 captive_portal::CaptivePortalTabHelper* captive_portal_tab_helper() { |
| 135 return captive_portal_tab_helper_.get(); |
| 136 } |
| 137 #endif |
| 138 |
129 ConstrainedWindowTabHelper* constrained_window_tab_helper() { | 139 ConstrainedWindowTabHelper* constrained_window_tab_helper() { |
130 return constrained_window_tab_helper_.get(); | 140 return constrained_window_tab_helper_.get(); |
131 } | 141 } |
132 | 142 |
133 CoreTabHelper* core_tab_helper() { return core_tab_helper_.get(); } | 143 CoreTabHelper* core_tab_helper() { return core_tab_helper_.get(); } |
134 | 144 |
135 ExtensionTabHelper* extension_tab_helper() { | 145 ExtensionTabHelper* extension_tab_helper() { |
136 return extension_tab_helper_.get(); | 146 return extension_tab_helper_.get(); |
137 } | 147 } |
138 | 148 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Tab Helpers --------------------------------------------------------------- | 229 // Tab Helpers --------------------------------------------------------------- |
220 // (These provide API for callers and have a getter function listed in the | 230 // (These provide API for callers and have a getter function listed in the |
221 // "Tab Helpers" section in the member functions area, above.) | 231 // "Tab Helpers" section in the member functions area, above.) |
222 | 232 |
223 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 233 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
224 scoped_refptr<AutofillManager> autofill_manager_; | 234 scoped_refptr<AutofillManager> autofill_manager_; |
225 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 235 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
226 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 236 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
227 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 237 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
228 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 238 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
| 239 #if !defined(OS_ANDROID) |
| 240 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; |
| 241 #endif |
229 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 242 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
230 scoped_ptr<CoreTabHelper> core_tab_helper_; | 243 scoped_ptr<CoreTabHelper> core_tab_helper_; |
231 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; | 244 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; |
232 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 245 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
233 scoped_ptr<FindTabHelper> find_tab_helper_; | 246 scoped_ptr<FindTabHelper> find_tab_helper_; |
234 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 247 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
235 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; | 248 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; |
236 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; | 249 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; |
237 | 250 |
238 // PasswordManager and its delegate. The delegate must outlive the manager, | 251 // PasswordManager and its delegate. The delegate must outlive the manager, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 | 301 |
289 // The supporting objects need to outlive the WebContents dtor (as they may | 302 // The supporting objects need to outlive the WebContents dtor (as they may |
290 // be called upon during its execution). As a result, this must come last | 303 // be called upon during its execution). As a result, this must come last |
291 // in the list. | 304 // in the list. |
292 scoped_ptr<content::WebContents> web_contents_; | 305 scoped_ptr<content::WebContents> web_contents_; |
293 | 306 |
294 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 307 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
295 }; | 308 }; |
296 | 309 |
297 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 310 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
OLD | NEW |