| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 HistoryTabHelper::CreateForWebContents(web_contents); | 130 HistoryTabHelper::CreateForWebContents(web_contents); |
| 131 HungPluginTabHelper::CreateForWebContents(web_contents); | 131 HungPluginTabHelper::CreateForWebContents(web_contents); |
| 132 InfoBarService::CreateForWebContents(web_contents); | 132 InfoBarService::CreateForWebContents(web_contents); |
| 133 NavigationMetricsRecorder::CreateForWebContents(web_contents); | 133 NavigationMetricsRecorder::CreateForWebContents(web_contents); |
| 134 PasswordGenerationManager::CreateForWebContents(web_contents); | 134 PasswordGenerationManager::CreateForWebContents(web_contents); |
| 135 PasswordManagerDelegateImpl::CreateForWebContents(web_contents); | 135 PasswordManagerDelegateImpl::CreateForWebContents(web_contents); |
| 136 PasswordManager::CreateForWebContentsAndDelegate( | 136 PasswordManager::CreateForWebContentsAndDelegate( |
| 137 web_contents, PasswordManagerDelegateImpl::FromWebContents(web_contents)); | 137 web_contents, PasswordManagerDelegateImpl::FromWebContents(web_contents)); |
| 138 PDFTabHelper::CreateForWebContents(web_contents); | 138 PDFTabHelper::CreateForWebContents(web_contents); |
| 139 PluginObserver::CreateForWebContents(web_contents); | 139 PluginObserver::CreateForWebContents(web_contents); |
| 140 if (CommandLine::ForCurrentProcess()->HasSwitch( | 140 if (!CommandLine::ForCurrentProcess()->HasSwitch( |
| 141 switches::kEnableBetterPopupBlocking)) { | 141 switches::kDisableBetterPopupBlocking)) { |
| 142 PopupBlockerTabHelper::CreateForWebContents(web_contents); | 142 PopupBlockerTabHelper::CreateForWebContents(web_contents); |
| 143 } | 143 } |
| 144 PrefsTabHelper::CreateForWebContents(web_contents); | 144 PrefsTabHelper::CreateForWebContents(web_contents); |
| 145 prerender::PrerenderTabHelper::CreateForWebContents(web_contents); | 145 prerender::PrerenderTabHelper::CreateForWebContents(web_contents); |
| 146 SadTabHelper::CreateForWebContents(web_contents); | 146 SadTabHelper::CreateForWebContents(web_contents); |
| 147 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); | 147 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); |
| 148 SearchEngineTabHelper::CreateForWebContents(web_contents); | 148 SearchEngineTabHelper::CreateForWebContents(web_contents); |
| 149 SearchTabHelper::CreateForWebContents(web_contents); | 149 SearchTabHelper::CreateForWebContents(web_contents); |
| 150 SSLTabHelper::CreateForWebContents(web_contents); | 150 SSLTabHelper::CreateForWebContents(web_contents); |
| 151 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); | 151 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 179 std::string(), | 179 std::string(), |
| 180 NULL)) { | 180 NULL)) { |
| 181 OneClickSigninHelper::CreateForWebContents(web_contents); | 181 OneClickSigninHelper::CreateForWebContents(web_contents); |
| 182 } | 182 } |
| 183 #endif | 183 #endif |
| 184 | 184 |
| 185 #if defined(OS_WIN) | 185 #if defined(OS_WIN) |
| 186 MetroPinTabHelper::CreateForWebContents(web_contents); | 186 MetroPinTabHelper::CreateForWebContents(web_contents); |
| 187 #endif | 187 #endif |
| 188 } | 188 } |
| OLD | NEW |