Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: chrome/browser/ui/browser_tab_contents.cc

Issue 12089102: Make most code on mac compile with enable_web_intents=0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ffff Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698