Home
last modified time | relevance | path

Searched refs:AutofillField (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium/chrome/browser/autofill/
Daddress_field.h17 class AutofillField; variable
24 static AddressField* Parse(std::vector<AutofillField*>::const_iterator* iter,
39 static bool ParseCompany(std::vector<AutofillField*>::const_iterator* iter,
42 std::vector<AutofillField*>::const_iterator* iter,
44 static bool ParseCountry(std::vector<AutofillField*>::const_iterator* iter,
46 static bool ParseZipCode(std::vector<AutofillField*>::const_iterator* iter,
48 static bool ParseCity(std::vector<AutofillField*>::const_iterator* iter,
50 static bool ParseState(std::vector<AutofillField*>::const_iterator* iter,
57 AutofillField* company_; // optional
58 AutofillField* address1_;
[all …]
Dform_field.h15 class AutofillField; variable
82 static bool Match(AutofillField* field,
89 std::vector<AutofillField*>::const_iterator* field,
94 static bool ParseText(std::vector<AutofillField*>::const_iterator* iter,
99 static bool ParseText(std::vector<AutofillField*>::const_iterator* iter,
101 AutofillField** dest);
105 static bool ParseEmptyText(std::vector<AutofillField*>::const_iterator* iter,
106 AutofillField** dest);
110 static bool ParseLabelText(std::vector<AutofillField*>::const_iterator* iter,
112 AutofillField** dest);
[all …]
Dname_field.h17 static NameField* Parse(std::vector<AutofillField*>::const_iterator* iter,
33 std::vector<AutofillField*>::const_iterator* iter);
36 explicit FullNameField(AutofillField* field);
38 AutofillField* field_;
46 std::vector<AutofillField*>::const_iterator* iter);
48 std::vector<AutofillField*>::const_iterator* iter);
50 std::vector<AutofillField*>::const_iterator* iter);
52 std::vector<AutofillField*>::const_iterator* iter, bool is_ecml);
59 AutofillField* first_name_;
60 AutofillField* middle_name_; // Optional.
[all …]
Dautofill_field.cc28 AutofillField::AutofillField() in AutofillField() function in AutofillField
33 AutofillField::AutofillField(const webkit_glue::FormField& field, in AutofillField() function in AutofillField
41 AutofillField::~AutofillField() {} in ~AutofillField()
43 void AutofillField::set_heuristic_type(AutofillFieldType type) { in set_heuristic_type()
54 AutofillFieldType AutofillField::type() const { in type()
61 bool AutofillField::IsEmpty() const { in IsEmpty()
65 std::string AutofillField::FieldSignature() const { in FieldSignature()
72 bool AutofillField::IsFieldFillable() const { in IsFieldFillable()
Dcredit_card_field.h15 class AutofillField; variable
24 std::vector<AutofillField*>::const_iterator* iter,
30 AutofillField* cardholder_; // Optional.
39 AutofillField* cardholder_last_;
41 AutofillField* type_; // Optional. TODO(jhawkins): Parse the select control.
42 AutofillField* number_; // Required.
45 AutofillField* verification_;
48 AutofillField* expiration_month_;
49 AutofillField* expiration_year_;
Dcredit_card_field_unittest.cc20 ScopedVector<AutofillField> list_;
23 std::vector<AutofillField*>::const_iterator iter_;
37 list_.push_back(new AutofillField); in TEST_F()
46 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Month"), in TEST_F()
54 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"), in TEST_F()
69 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Card Number"), in TEST_F()
84 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Card Number"), in TEST_F()
92 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Month"), in TEST_F()
100 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"), in TEST_F()
126 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Card Number"), in TEST_F()
[all …]
Dname_field_unittest.cc20 ScopedVector<AutofillField> list_;
23 std::vector<AutofillField*>::const_iterator iter_;
31 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("First Name"), in TEST_F()
39 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Middle Name"), in TEST_F()
47 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Last Name"), in TEST_F()
72 new AutofillField(webkit_glue::FormField(string16(), in TEST_F()
80 new AutofillField(webkit_glue::FormField(string16(), in TEST_F()
88 new AutofillField(webkit_glue::FormField(string16(), in TEST_F()
113 new AutofillField(webkit_glue::FormField(string16(), in TEST_F()
121 new AutofillField(webkit_glue::FormField(string16(), in TEST_F()
[all …]
Dform_field.cc98 static EmailField* Parse(std::vector<AutofillField*>::const_iterator* iter, in Parse()
107 AutofillField* field; in Parse()
115 explicit EmailField(AutofillField *field) : field_(field) {} in EmailField()
117 AutofillField* field_;
125 bool FormField::Match(AutofillField* field, in Match()
148 std::vector<AutofillField*>::const_iterator* iter, in ParseFormField()
171 bool FormField::ParseText(std::vector<AutofillField*>::const_iterator* iter, in ParseText()
173 AutofillField* field; in ParseText()
178 bool FormField::ParseText(std::vector<AutofillField*>::const_iterator* iter, in ParseText()
180 AutofillField** dest) { in ParseText()
[all …]
Dphone_field_unittest.cc20 ScopedVector<AutofillField> list_;
23 std::vector<AutofillField*>::const_iterator iter_;
37 list_.push_back(new AutofillField); in TEST_F()
46 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), in TEST_F()
65 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), in TEST_F()
84 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Area Code"), in TEST_F()
92 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), in TEST_F()
114 new AutofillField( in TEST_F()
123 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), in TEST_F()
145 new AutofillField( in TEST_F()
[all …]
Dname_field.cc15 NameField* NameField::Parse(std::vector<AutofillField*>::const_iterator* iter, in Parse()
31 std::vector<AutofillField*>::const_iterator* iter) { in Parse()
34 AutofillField* field = **iter; in Parse()
48 FullNameField::FullNameField(AutofillField* field) in FullNameField()
53 std::vector<AutofillField*>::const_iterator* iter) { in Parse1()
57 std::vector<AutofillField*>::const_iterator q = *iter; in Parse1()
59 AutofillField* next; in Parse1()
81 std::vector<AutofillField*>::const_iterator* iter) { in Parse2()
83 std::vector<AutofillField*>::const_iterator q = *iter; in Parse2()
120 std::vector<AutofillField*>::const_iterator* iter) { in ParseEcmlName()
[all …]
Daddress_field_unittest.cc20 ScopedVector<AutofillField> list_;
23 std::vector<AutofillField*>::const_iterator iter_;
37 list_.push_back(new AutofillField); in TEST_F()
46 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Address"), in TEST_F()
67 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Address"), in TEST_F()
88 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Address"), in TEST_F()
109 new AutofillField( in TEST_F()
131 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Address"), in TEST_F()
139 new AutofillField(webkit_glue::FormField(string16(), in TEST_F()
163 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Address Line1"), in TEST_F()
[all …]
Dautofill_field.h16 class AutofillField : public webkit_glue::FormField {
18 AutofillField();
19 AutofillField(const webkit_glue::FormField& field,
21 virtual ~AutofillField();
64 DISALLOW_COPY_AND_ASSIGN(AutofillField);
Dphone_field.h16 class AutofillField; variable
26 static PhoneField* Parse(std::vector<AutofillField*>::const_iterator* iter,
29 std::vector<AutofillField*>::const_iterator* iter);
86 std::vector<AutofillField*>::const_iterator* iter,
111 AutofillField* parsed_phone_fields_[FIELD_MAX];
Dform_structure.h97 const AutofillField* field(int index) const;
104 std::vector<AutofillField*>::const_iterator begin() const { in begin()
107 std::vector<AutofillField*>::const_iterator end() const { in end()
120 ScopedVector<AutofillField>* fields() { return &fields_; } in fields()
162 ScopedVector<AutofillField> fields_;
Dautofill_field_unittest.cc14 AutofillField field; in TEST()
35 AutofillField field; in TEST()
47 AutofillField field; in TEST()
72 AutofillField field; in TEST()
Dform_structure.cc72 fields_.push_back(new AutofillField(*field, unique_name)); in FormStructure()
99 AutofillField* field = fields_[index]; in DetermineHeuristicTypes()
238 for (std::vector<AutofillField*>::iterator field = form->fields_.begin(); in ParseQueryResponse()
307 for (std::vector<AutofillField*>::const_iterator iter = begin(); in UpdateAutofillCount()
309 AutofillField* field = *iter; in UpdateAutofillCount()
330 std::map<std::string, const AutofillField*> cached_fields; in UpdateFromCache()
332 const AutofillField* field = cached_form.field(i); in UpdateFromCache()
336 for (std::vector<AutofillField*>::const_iterator iter = begin(); in UpdateFromCache()
338 AutofillField* field = *iter; in UpdateFromCache()
342 std::map<std::string, const AutofillField*>::const_iterator in UpdateFromCache()
[all …]
Daddress_field.cc79 std::vector<AutofillField*>::const_iterator* iter, in Parse()
86 std::vector<AutofillField*>::const_iterator q = *iter; in Parse()
176 std::vector<AutofillField*>::const_iterator* iter, in ParseCompany()
196 std::vector<AutofillField*>::const_iterator* iter, in ParseAddressLines()
257 std::vector<AutofillField*>::const_iterator* iter, in ParseCountry()
279 std::vector<AutofillField*>::const_iterator* iter, in ParseZipCode()
334 std::vector<AutofillField*>::const_iterator* iter, in ParseCity()
355 std::vector<AutofillField*>::const_iterator* iter, in ParseState()
Dcredit_card_field.cc51 std::vector<AutofillField*>::const_iterator* iter, in Parse()
54 std::vector<AutofillField*>::const_iterator q = *iter; in Parse()
89 std::vector<AutofillField*>::const_iterator p = q; in Parse()
90 AutofillField* first; in Parse()
Dphone_field.cc100 PhoneField* PhoneField::Parse(std::vector<AutofillField*>::const_iterator* iter, in Parse()
125 std::vector<AutofillField*>::const_iterator* iter) { in ParseECML()
128 AutofillField* field; in ParseECML()
261 std::vector<AutofillField*>::const_iterator* iter, in ParseInternal()
269 std::vector<AutofillField*>::const_iterator q = *iter; in ParseInternal()
272 AutofillField* parsed_fields[FIELD_MAX]; in ParseInternal()
Dautofill_manager.cc113 const AutofillField& field, in FindSectionBounds()
127 const AutofillField* current_field = form.field(i); in FindSectionBounds()
381 AutofillField* autofill_field = NULL; in OnQueryFormFieldAutofill()
489 AutofillField* autofill_field = NULL; in OnFillAutofillFormData()
684 const AutofillField* field = submitted_form->field(i); in DeterminePossibleFieldTypesForUpload()
807 AutofillField** autofill_field) {
818 for (std::vector<AutofillField*>::const_iterator iter =
870 for (std::vector<AutofillField*>::const_iterator iter = form->begin();
Dautofill_merge_unittest.cc196 AutofillField* field = in MergeProfiles()
197 const_cast<AutofillField*>(form_structure.field(i)); in MergeProfiles()
Dautofill_manager.h31 class AutofillField; variable
194 AutofillField** autofill_field) WARN_UNUSED_RESULT;
Dform_structure_browsertest.cc76 for (std::vector<AutofillField*>::const_iterator field_iter = in FormStructuresToString()
Dform_field_unittest.cc13 AutofillField field; in TEST()
Dpersonal_data_manager.cc215 const AutofillField* field = form->field(i); in ImportFormData()

12