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

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

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 18 matching lines...) Expand all
29 #include "chrome/browser/tab_contents/navigation_metrics_recorder.h" 29 #include "chrome/browser/tab_contents/navigation_metrics_recorder.h"
30 #include "chrome/browser/three_d_api_observer.h" 30 #include "chrome/browser/three_d_api_observer.h"
31 #include "chrome/browser/thumbnails/thumbnail_tab_helper.h" 31 #include "chrome/browser/thumbnails/thumbnail_tab_helper.h"
32 #include "chrome/browser/translate/translate_tab_helper.h" 32 #include "chrome/browser/translate/translate_tab_helper.h"
33 #include "chrome/browser/ui/alternate_error_tab_observer.h" 33 #include "chrome/browser/ui/alternate_error_tab_observer.h"
34 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" 34 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h"
35 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" 35 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h"
36 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" 36 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
37 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 37 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
38 #include "chrome/browser/ui/hung_plugin_tab_helper.h" 38 #include "chrome/browser/ui/hung_plugin_tab_helper.h"
39 #include "chrome/browser/ui/intents/web_intent_picker_controller.h"
40 #include "chrome/browser/ui/pdf/pdf_tab_helper.h" 39 #include "chrome/browser/ui/pdf/pdf_tab_helper.h"
41 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 40 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
42 #include "chrome/browser/ui/sad_tab_helper.h" 41 #include "chrome/browser/ui/sad_tab_helper.h"
43 #include "chrome/browser/ui/search/search_tab_helper.h" 42 #include "chrome/browser/ui/search/search_tab_helper.h"
44 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" 43 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
45 #include "chrome/browser/ui/snapshot_tab_helper.h" 44 #include "chrome/browser/ui/snapshot_tab_helper.h"
46 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" 45 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
47 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" 46 #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
48 #include "chrome/browser/ui/web_contents_modal_dialog_manager.h" 47 #include "chrome/browser/ui/web_contents_modal_dialog_manager.h"
49 #include "chrome/browser/ui/zoom/zoom_controller.h" 48 #include "chrome/browser/ui/zoom/zoom_controller.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); 145 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents);
147 SearchEngineTabHelper::CreateForWebContents(web_contents); 146 SearchEngineTabHelper::CreateForWebContents(web_contents);
148 chrome::search::SearchTabHelper::CreateForWebContents(web_contents); 147 chrome::search::SearchTabHelper::CreateForWebContents(web_contents);
149 SnapshotTabHelper::CreateForWebContents(web_contents); 148 SnapshotTabHelper::CreateForWebContents(web_contents);
150 SSLTabHelper::CreateForWebContents(web_contents); 149 SSLTabHelper::CreateForWebContents(web_contents);
151 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); 150 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents);
152 TabSpecificContentSettings::CreateForWebContents(web_contents); 151 TabSpecificContentSettings::CreateForWebContents(web_contents);
153 ThreeDAPIObserver::CreateForWebContents(web_contents); 152 ThreeDAPIObserver::CreateForWebContents(web_contents);
154 ThumbnailTabHelper::CreateForWebContents(web_contents); 153 ThumbnailTabHelper::CreateForWebContents(web_contents);
155 TranslateTabHelper::CreateForWebContents(web_contents); 154 TranslateTabHelper::CreateForWebContents(web_contents);
156 #if defined(ENABLE_WEB_INTENTS)
157 WebIntentPickerController::CreateForWebContents(web_contents);
158 #endif
159 ZoomController::CreateForWebContents(web_contents); 155 ZoomController::CreateForWebContents(web_contents);
160 156
161 #if defined(ENABLE_AUTOMATION) 157 #if defined(ENABLE_AUTOMATION)
162 AutomationTabHelper::CreateForWebContents(web_contents); 158 AutomationTabHelper::CreateForWebContents(web_contents);
163 #endif 159 #endif
164 160
165 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 161 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
166 captive_portal::CaptivePortalTabHelper::CreateForWebContents(web_contents); 162 captive_portal::CaptivePortalTabHelper::CreateForWebContents(web_contents);
167 #endif 163 #endif
168 164
(...skipping 11 matching lines...) Expand all
180 if (OneClickSigninHelper::CanOffer( 176 if (OneClickSigninHelper::CanOffer(
181 web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) { 177 web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) {
182 OneClickSigninHelper::CreateForWebContents(web_contents); 178 OneClickSigninHelper::CreateForWebContents(web_contents);
183 } 179 }
184 #endif 180 #endif
185 181
186 #if defined(OS_WIN) 182 #if defined(OS_WIN)
187 MetroPinTabHelper::CreateForWebContents(web_contents); 183 MetroPinTabHelper::CreateForWebContents(web_contents);
188 #endif 184 #endif
189 } 185 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698