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/api/infobars/infobar_service.h" | 8 #include "chrome/browser/api/infobars/infobar_service.h" |
9 #include "chrome/browser/autofill/autofill_external_delegate.h" | 9 #include "chrome/browser/autofill/autofill_external_delegate.h" |
10 #include "chrome/browser/autofill/autofill_manager.h" | 10 #include "chrome/browser/autofill/autofill_manager.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); | 146 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); |
147 SearchEngineTabHelper::CreateForWebContents(web_contents); | 147 SearchEngineTabHelper::CreateForWebContents(web_contents); |
148 chrome::search::SearchTabHelper::CreateForWebContents(web_contents); | 148 chrome::search::SearchTabHelper::CreateForWebContents(web_contents); |
149 SnapshotTabHelper::CreateForWebContents(web_contents); | 149 SnapshotTabHelper::CreateForWebContents(web_contents); |
150 SSLTabHelper::CreateForWebContents(web_contents); | 150 SSLTabHelper::CreateForWebContents(web_contents); |
151 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); | 151 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); |
152 TabSpecificContentSettings::CreateForWebContents(web_contents); | 152 TabSpecificContentSettings::CreateForWebContents(web_contents); |
153 ThreeDAPIObserver::CreateForWebContents(web_contents); | 153 ThreeDAPIObserver::CreateForWebContents(web_contents); |
154 ThumbnailTabHelper::CreateForWebContents(web_contents); | 154 ThumbnailTabHelper::CreateForWebContents(web_contents); |
155 TranslateTabHelper::CreateForWebContents(web_contents); | 155 TranslateTabHelper::CreateForWebContents(web_contents); |
| 156 #if defined(ENABLE_WEB_INTENTS) |
156 WebIntentPickerController::CreateForWebContents(web_contents); | 157 WebIntentPickerController::CreateForWebContents(web_contents); |
| 158 #endif |
157 ZoomController::CreateForWebContents(web_contents); | 159 ZoomController::CreateForWebContents(web_contents); |
158 | 160 |
159 #if defined(ENABLE_AUTOMATION) | 161 #if defined(ENABLE_AUTOMATION) |
160 AutomationTabHelper::CreateForWebContents(web_contents); | 162 AutomationTabHelper::CreateForWebContents(web_contents); |
161 #endif | 163 #endif |
162 | 164 |
163 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 165 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
164 captive_portal::CaptivePortalTabHelper::CreateForWebContents(web_contents); | 166 captive_portal::CaptivePortalTabHelper::CreateForWebContents(web_contents); |
165 #endif | 167 #endif |
166 | 168 |
(...skipping 11 matching lines...) Expand all Loading... |
178 if (OneClickSigninHelper::CanOffer( | 180 if (OneClickSigninHelper::CanOffer( |
179 web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) { | 181 web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) { |
180 OneClickSigninHelper::CreateForWebContents(web_contents); | 182 OneClickSigninHelper::CreateForWebContents(web_contents); |
181 } | 183 } |
182 #endif | 184 #endif |
183 | 185 |
184 #if defined(OS_WIN) | 186 #if defined(OS_WIN) |
185 MetroPinTabHelper::CreateForWebContents(web_contents); | 187 MetroPinTabHelper::CreateForWebContents(web_contents); |
186 #endif | 188 #endif |
187 } | 189 } |
OLD | NEW |