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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 11742033: requestAutocomplete: only menu-suggest "complete" profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h
index 4dbd74dc520ec6d9c2ef92fbe01f908f884eeffe..9ca30b69effc391c9a7fe484f3d264dfd768b602 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h
@@ -151,6 +151,11 @@ class AutofillDialogController : public AutofillPopupDelegate {
// Initializes |suggested_email_| et al.
void GenerateComboboxModels();
+ // Returns whether |profile| is complete, i.e. can fill out all the relevant
+ // address info. Incomplete profiles will not be displayed in the dropdown
+ // menu.
+ bool IsCompleteProfile(const AutofillProfile& profile);
+
// Fills in |section|-related fields in |output_| according to the state of
// |view_|.
void FillOutputForSection(DialogSection section);
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698