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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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/autofill/chrome_autofill_client.h" 5 #include "chrome/browser/ui/autofill/chrome_autofill_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" 9 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
10 #include "chrome/browser/autofill/personal_data_manager_factory.h" 10 #include "chrome/browser/autofill/personal_data_manager_factory.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 void ChromeAutofillClient::WebContentsDestroyed() { 188 void ChromeAutofillClient::WebContentsDestroyed() {
189 HideAutofillPopup(); 189 HideAutofillPopup();
190 } 190 }
191 191
192 void ChromeAutofillClient::OnZoomChanged( 192 void ChromeAutofillClient::OnZoomChanged(
193 const ZoomController::ZoomChangedEventData& data) { 193 const ZoomController::ZoomChangedEventData& data) {
194 HideAutofillPopup(); 194 HideAutofillPopup();
195 } 195 }
196 196
197 void ChromeAutofillClient::DetectAccountCreationForms(
198 const std::vector<autofill::FormStructure*>& forms) {
199 password_manager::PasswordGenerationManager* manager =
200 ChromePasswordManagerClient::GetGenerationManagerFromWebContents(
201 web_contents_);
202 if (manager)
203 manager->DetectAccountCreationForms(forms);
204 }
205
206 void ChromeAutofillClient::DidFillOrPreviewField( 197 void ChromeAutofillClient::DidFillOrPreviewField(
207 const base::string16& autofilled_value, 198 const base::string16& autofilled_value,
208 const base::string16& profile_full_name) { 199 const base::string16& profile_full_name) {
209 #if defined(OS_ANDROID) 200 #if defined(OS_ANDROID)
210 AutofillLoggerAndroid::DidFillOrPreviewField(autofilled_value, 201 AutofillLoggerAndroid::DidFillOrPreviewField(autofilled_value,
211 profile_full_name); 202 profile_full_name);
212 #endif // defined(OS_ANDROID) 203 #endif // defined(OS_ANDROID)
213 } 204 }
214 205
215 } // namespace autofill 206 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698