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

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

Issue 22009003: [Autofill] Distinguish between native field types and potentially HTML field types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 94ee787e1079869006d6f8e849f47e9c4d03d62d..fcc664d2f78b510c0910244589b8fb90c2b51151 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -136,17 +136,17 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
const OVERRIDE;
virtual ui::ComboboxModel* ComboboxModelForAutofillType(
- AutofillFieldType type) OVERRIDE;
+ ServerFieldType type) OVERRIDE;
virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE;
virtual string16 LabelForSection(DialogSection section) const OVERRIDE;
virtual SuggestionState SuggestionStateForSection(
DialogSection section) OVERRIDE;
virtual void EditClickedForSection(DialogSection section) OVERRIDE;
virtual void EditCancelledForSection(DialogSection section) OVERRIDE;
- virtual gfx::Image IconForField(AutofillFieldType type,
+ virtual gfx::Image IconForField(ServerFieldType type,
const string16& user_input) const OVERRIDE;
virtual string16 InputValidityMessage(DialogSection section,
- AutofillFieldType type,
+ ServerFieldType type,
const string16& value) OVERRIDE;
virtual ValidityData InputsAreValid(
DialogSection section,
@@ -378,7 +378,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// Gets the value for |type| in |section|, whether it comes from manual user
// input or the active suggestion.
string16 GetValueFromSection(DialogSection section,
- AutofillFieldType type);
+ ServerFieldType type);
// Saves the data in |profile| to the personal data manager. This may add
// a new profile or tack onto an existing profile.
@@ -410,7 +410,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// Identifying info is loaded into the last three outparams as well as
// |popup_guids_|.
void GetProfileSuggestions(
- AutofillFieldType type,
+ ServerFieldType type,
const string16& field_contents,
const DetailInputs& inputs,
std::vector<string16>* popup_values,
@@ -686,7 +686,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// Whether |callback_| was Run() with a filled |form_structure_|.
bool data_was_passed_back_;
- typedef std::map<AutofillFieldType,
+ typedef std::map<ServerFieldType,
std::pair<base::string16, base::string16> > TypeErrorInputMap;
typedef std::map<DialogSection, TypeErrorInputMap> WalletValidationErrors;
// Wallet validation errors. section->type->(error_msg, input_value).

Powered by Google App Engine
This is Rietveld 408576698