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 #include "chrome/browser/ui/browser_tab_contents.h" | 5 #include "chrome/browser/ui/browser_tab_contents.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
9 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 9 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
10 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" | 10 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "chrome/browser/ui/find_bar/find_tab_helper.h" | 40 #include "chrome/browser/ui/find_bar/find_tab_helper.h" |
41 #include "chrome/browser/ui/hung_plugin_tab_helper.h" | 41 #include "chrome/browser/ui/hung_plugin_tab_helper.h" |
42 #include "chrome/browser/ui/passwords/manage_passwords_icon_controller.h" | 42 #include "chrome/browser/ui/passwords/manage_passwords_icon_controller.h" |
43 #include "chrome/browser/ui/pdf/pdf_tab_helper.h" | 43 #include "chrome/browser/ui/pdf/pdf_tab_helper.h" |
44 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 44 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
45 #include "chrome/browser/ui/sad_tab_helper.h" | 45 #include "chrome/browser/ui/sad_tab_helper.h" |
46 #include "chrome/browser/ui/search/search_tab_helper.h" | 46 #include "chrome/browser/ui/search/search_tab_helper.h" |
47 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" | 47 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" |
48 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" | 48 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" |
49 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 49 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
| 50 #include "chrome/browser/ui/web_applications/hosted_app_tab_helper.h" |
50 #include "chrome/browser/ui/zoom/zoom_controller.h" | 51 #include "chrome/browser/ui/zoom/zoom_controller.h" |
51 #include "chrome/common/chrome_switches.h" | 52 #include "chrome/common/chrome_switches.h" |
52 #include "components/autofill/content/browser/autofill_driver_impl.h" | 53 #include "components/autofill/content/browser/autofill_driver_impl.h" |
53 #include "components/autofill/core/browser/autofill_manager.h" | 54 #include "components/autofill/core/browser/autofill_manager.h" |
54 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 55 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
55 #include "content/public/browser/web_contents.h" | 56 #include "content/public/browser/web_contents.h" |
56 #include "extensions/browser/view_type_utils.h" | 57 #include "extensions/browser/view_type_utils.h" |
57 | 58 |
58 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 59 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
59 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" | 60 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 chrome_browser_net::PredictorTabHelper::CreateForWebContents(web_contents); | 132 chrome_browser_net::PredictorTabHelper::CreateForWebContents(web_contents); |
132 WebContentsModalDialogManager::CreateForWebContents(web_contents); | 133 WebContentsModalDialogManager::CreateForWebContents(web_contents); |
133 CoreTabHelper::CreateForWebContents(web_contents); | 134 CoreTabHelper::CreateForWebContents(web_contents); |
134 extensions::ExtensionWebContentsObserver::CreateForWebContents(web_contents); | 135 extensions::ExtensionWebContentsObserver::CreateForWebContents(web_contents); |
135 extensions::TabHelper::CreateForWebContents(web_contents); | 136 extensions::TabHelper::CreateForWebContents(web_contents); |
136 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents); | 137 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents); |
137 ExternalProtocolObserver::CreateForWebContents(web_contents); | 138 ExternalProtocolObserver::CreateForWebContents(web_contents); |
138 FaviconTabHelper::CreateForWebContents(web_contents); | 139 FaviconTabHelper::CreateForWebContents(web_contents); |
139 FindTabHelper::CreateForWebContents(web_contents); | 140 FindTabHelper::CreateForWebContents(web_contents); |
140 HistoryTabHelper::CreateForWebContents(web_contents); | 141 HistoryTabHelper::CreateForWebContents(web_contents); |
| 142 HostedAppTabHelper::CreateForWebContents(web_contents); |
141 HungPluginTabHelper::CreateForWebContents(web_contents); | 143 HungPluginTabHelper::CreateForWebContents(web_contents); |
142 InfoBarService::CreateForWebContents(web_contents); | 144 InfoBarService::CreateForWebContents(web_contents); |
143 NavigationMetricsRecorder::CreateForWebContents(web_contents); | 145 NavigationMetricsRecorder::CreateForWebContents(web_contents); |
144 NavigationTimeHelper::CreateForWebContents(web_contents); | 146 NavigationTimeHelper::CreateForWebContents(web_contents); |
145 PasswordGenerationManager::CreateForWebContents(web_contents); | 147 PasswordGenerationManager::CreateForWebContents(web_contents); |
146 PasswordManagerDelegateImpl::CreateForWebContents(web_contents); | 148 PasswordManagerDelegateImpl::CreateForWebContents(web_contents); |
147 PasswordManager::CreateForWebContentsAndDelegate( | 149 PasswordManager::CreateForWebContentsAndDelegate( |
148 web_contents, PasswordManagerDelegateImpl::FromWebContents(web_contents)); | 150 web_contents, PasswordManagerDelegateImpl::FromWebContents(web_contents)); |
149 PDFTabHelper::CreateForWebContents(web_contents); | 151 PDFTabHelper::CreateForWebContents(web_contents); |
150 PluginObserver::CreateForWebContents(web_contents); | 152 PluginObserver::CreateForWebContents(web_contents); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 NULL)) { | 200 NULL)) { |
199 OneClickSigninHelper::CreateForWebContentsWithPasswordManager( | 201 OneClickSigninHelper::CreateForWebContentsWithPasswordManager( |
200 web_contents, PasswordManager::FromWebContents(web_contents)); | 202 web_contents, PasswordManager::FromWebContents(web_contents)); |
201 } | 203 } |
202 #endif | 204 #endif |
203 | 205 |
204 #if defined(OS_WIN) | 206 #if defined(OS_WIN) |
205 MetroPinTabHelper::CreateForWebContents(web_contents); | 207 MetroPinTabHelper::CreateForWebContents(web_contents); |
206 #endif | 208 #endif |
207 } | 209 } |
OLD | NEW |