OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/tab_helpers.h" | 5 #include "chrome/browser/ui/tab_helpers.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/content_settings/chrome_content_settings_client.h" | 10 #include "chrome/browser/content_settings/chrome_content_settings_client.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 ViewAndroidHelper::CreateForWebContents(web_contents); | 185 ViewAndroidHelper::CreateForWebContents(web_contents); |
186 VoiceSearchTabHelper::CreateForWebContents(web_contents); | 186 VoiceSearchTabHelper::CreateForWebContents(web_contents); |
187 #else | 187 #else |
188 BookmarkTabHelper::CreateForWebContents(web_contents); | 188 BookmarkTabHelper::CreateForWebContents(web_contents); |
189 extensions::ChromeExtensionWebContentsObserver::CreateForWebContents( | 189 extensions::ChromeExtensionWebContentsObserver::CreateForWebContents( |
190 web_contents); | 190 web_contents); |
191 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents); | 191 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents); |
192 HungPluginTabHelper::CreateForWebContents(web_contents); | 192 HungPluginTabHelper::CreateForWebContents(web_contents); |
193 ManagePasswordsUIController::CreateForWebContents(web_contents); | 193 ManagePasswordsUIController::CreateForWebContents(web_contents); |
194 pdf::PDFWebContentsHelper::CreateForWebContentsWithClient( | 194 pdf::PDFWebContentsHelper::CreateForWebContentsWithClient( |
195 web_contents, | 195 web_contents, std::unique_ptr<pdf::PDFWebContentsHelperClient>( |
196 scoped_ptr<pdf::PDFWebContentsHelperClient>( | 196 new ChromePDFWebContentsHelperClient())); |
197 new ChromePDFWebContentsHelperClient())); | |
198 PermissionBubbleManager::CreateForWebContents(web_contents); | 197 PermissionBubbleManager::CreateForWebContents(web_contents); |
199 PluginObserver::CreateForWebContents(web_contents); | 198 PluginObserver::CreateForWebContents(web_contents); |
200 SadTabHelper::CreateForWebContents(web_contents); | 199 SadTabHelper::CreateForWebContents(web_contents); |
201 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); | 200 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); |
202 SearchEngineTabHelper::CreateForWebContents(web_contents); | 201 SearchEngineTabHelper::CreateForWebContents(web_contents); |
203 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); | 202 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); |
204 TabDialogs::CreateForWebContents(web_contents); | 203 TabDialogs::CreateForWebContents(web_contents); |
205 ThumbnailTabHelper::CreateForWebContents(web_contents); | 204 ThumbnailTabHelper::CreateForWebContents(web_contents); |
206 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents); | 205 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents); |
207 | 206 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 246 |
248 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile( | 247 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile( |
249 web_contents->GetBrowserContext())) { | 248 web_contents->GetBrowserContext())) { |
250 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents( | 249 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents( |
251 web_contents); | 250 web_contents); |
252 } | 251 } |
253 | 252 |
254 if (tracing::NavigationTracingObserver::IsEnabled()) | 253 if (tracing::NavigationTracingObserver::IsEnabled()) |
255 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); | 254 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); |
256 } | 255 } |
OLD | NEW |