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

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

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address gcasto's comments. Created 6 years, 9 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 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 "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/tab_helper.h" 10 #include "chrome/browser/extensions/tab_helper.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // --- Common tab helpers --- 119 // --- Common tab helpers ---
120 120
121 autofill::TabAutofillManagerDelegate::CreateForWebContents(web_contents); 121 autofill::TabAutofillManagerDelegate::CreateForWebContents(web_contents);
122 autofill::ContentAutofillDriver::CreateForWebContentsAndDelegate( 122 autofill::ContentAutofillDriver::CreateForWebContentsAndDelegate(
123 web_contents, 123 web_contents,
124 autofill::TabAutofillManagerDelegate::FromWebContents(web_contents), 124 autofill::TabAutofillManagerDelegate::FromWebContents(web_contents),
125 g_browser_process->GetApplicationLocale(), 125 g_browser_process->GetApplicationLocale(),
126 autofill::AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER); 126 autofill::AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER);
127 BookmarkTabHelper::CreateForWebContents(web_contents); 127 BookmarkTabHelper::CreateForWebContents(web_contents);
128 chrome_browser_net::NetErrorTabHelper::CreateForWebContents(web_contents); 128 chrome_browser_net::NetErrorTabHelper::CreateForWebContents(web_contents);
129 ChromePasswordManagerClient::CreateForWebContents(web_contents);
129 CoreTabHelper::CreateForWebContents(web_contents); 130 CoreTabHelper::CreateForWebContents(web_contents);
130 extensions::TabHelper::CreateForWebContents(web_contents); 131 extensions::TabHelper::CreateForWebContents(web_contents);
131 FaviconTabHelper::CreateForWebContents(web_contents); 132 FaviconTabHelper::CreateForWebContents(web_contents);
132 FindTabHelper::CreateForWebContents(web_contents); 133 FindTabHelper::CreateForWebContents(web_contents);
133 HistoryTabHelper::CreateForWebContents(web_contents); 134 HistoryTabHelper::CreateForWebContents(web_contents);
134 InfoBarService::CreateForWebContents(web_contents); 135 InfoBarService::CreateForWebContents(web_contents);
135 NavigationCorrectionTabObserver::CreateForWebContents(web_contents); 136 NavigationCorrectionTabObserver::CreateForWebContents(web_contents);
136 NavigationMetricsRecorder::CreateForWebContents(web_contents); 137 NavigationMetricsRecorder::CreateForWebContents(web_contents);
137 ChromePasswordManagerClient::CreateForWebContents(web_contents);
138 PopupBlockerTabHelper::CreateForWebContents(web_contents); 138 PopupBlockerTabHelper::CreateForWebContents(web_contents);
139 PrefsTabHelper::CreateForWebContents(web_contents); 139 PrefsTabHelper::CreateForWebContents(web_contents);
140 prerender::PrerenderTabHelper::CreateForWebContentsWithPasswordManager( 140 prerender::PrerenderTabHelper::CreateForWebContentsWithPasswordManager(
141 web_contents, 141 web_contents,
142 ChromePasswordManagerClient::GetManagerFromWebContents(web_contents)); 142 ChromePasswordManagerClient::GetManagerFromWebContents(web_contents));
143 SSLTabHelper::CreateForWebContents(web_contents); 143 SSLTabHelper::CreateForWebContents(web_contents);
144 TabSpecificContentSettings::CreateForWebContents(web_contents); 144 TabSpecificContentSettings::CreateForWebContents(web_contents);
145 TranslateTabHelper::CreateForWebContents(web_contents); 145 TranslateTabHelper::CreateForWebContents(web_contents);
146 146
147 // --- Platform-specific tab helpers --- 147 // --- Platform-specific tab helpers ---
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 if (OneClickSigninHelper::CanOffer(web_contents, 205 if (OneClickSigninHelper::CanOffer(web_contents,
206 OneClickSigninHelper::CAN_OFFER_FOR_ALL, 206 OneClickSigninHelper::CAN_OFFER_FOR_ALL,
207 std::string(), 207 std::string(),
208 NULL)) { 208 NULL)) {
209 OneClickSigninHelper::CreateForWebContentsWithPasswordManager( 209 OneClickSigninHelper::CreateForWebContentsWithPasswordManager(
210 web_contents, 210 web_contents,
211 ChromePasswordManagerClient::GetManagerFromWebContents(web_contents)); 211 ChromePasswordManagerClient::GetManagerFromWebContents(web_contents));
212 } 212 }
213 #endif 213 #endif
214 } 214 }
OLDNEW
« no previous file with comments | « no previous file | components/autofill.gypi » ('j') | components/autofill/content/common/autofill_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698