Home
last modified time | relevance | path

Searched refs:form_structure (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/components/autofill/core/browser/
Dform_structure_unittest.cc65 scoped_ptr<FormStructure> form_structure; in TEST() local
93 form_structure.reset(new FormStructure(form)); in TEST()
94 EXPECT_EQ(4U, form_structure->field_count()); in TEST()
98 scoped_ptr<FormStructure> form_structure; in TEST() local
124 form_structure.reset(new FormStructure(form)); in TEST()
125 form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); in TEST()
126 EXPECT_EQ(1U, form_structure->autofill_count()); in TEST()
136 form_structure.reset(new FormStructure(form)); in TEST()
137 form_structure->DetermineHeuristicTypes(TestAutofillMetrics()); in TEST()
138 EXPECT_EQ(1U, form_structure->autofill_count()); in TEST()
[all …]
Dautofill_manager.cc105 bool SectionIsAutofilled(const FormStructure& form_structure, in SectionIsAutofilled() argument
108 DCHECK_EQ(form_structure.field_count(), form.fields.size()); in SectionIsAutofilled()
109 for (size_t i = 0; i < form_structure.field_count(); ++i) { in SectionIsAutofilled()
110 if (form_structure.field(i)->section() == section && in SectionIsAutofilled()
290 FormStructure* form_structure = NULL; in ShouldShowAccessAddressBookSuggestion() local
292 if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field)) in ShouldShowAccessAddressBookSuggestion()
407 FormStructure* form_structure = NULL; in OnTextFieldDidChange() local
409 if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field)) in OnTextFieldDidChange()
450 FormStructure* form_structure = NULL; in OnQueryFormFieldAutofill() local
454 GetCachedFormAndField(form, field, &form_structure, &autofill_field) && in OnQueryFormFieldAutofill()
[all …]
Dautofill_download_unittest.cc174 FormStructure *form_structure = new FormStructure(form); in TEST_F() local
176 form_structures.push_back(form_structure); in TEST_F()
200 form_structure = new FormStructure(form); in TEST_F()
201 form_structures.push_back(form_structure); in TEST_F()
293 form_structure = new FormStructure(form); in TEST_F()
294 form_structures.push_back(form_structure); in TEST_F()
364 FormStructure *form_structure = new FormStructure(form); in TEST_F() local
366 form_structures0.push_back(form_structure); in TEST_F()
372 form_structure = new FormStructure(form); in TEST_F()
374 form_structures1.push_back(form_structure); in TEST_F()
[all …]
Dpersonal_data_manager_unittest.cc589 FormStructure form_structure(form); in TEST_F() local
590 form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); in TEST_F()
592 EXPECT_TRUE(personal_data_->ImportFormData(form_structure, in TEST_F()
630 FormStructure form_structure(form); in TEST_F() local
631 form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); in TEST_F()
633 EXPECT_FALSE(personal_data_->ImportFormData(form_structure, in TEST_F()
663 FormStructure form_structure(form); in TEST_F() local
664 form_structure.DetermineHeuristicTypes(TestAutofillMetrics()); in TEST_F()
666 EXPECT_TRUE(personal_data_->ImportFormData(form_structure, in TEST_F()
694 FormStructure form_structure(form); in TEST_F() local
[all …]
Dautofill_merge_unittest.cc220 FormStructure form_structure(form); in MergeProfiles() local
221 for (size_t i = 0; i < form_structure.field_count(); ++i) { in MergeProfiles()
225 const_cast<AutofillField*>(form_structure.field(i)); in MergeProfiles()
233 personal_data_.ImportFormData(form_structure, &imported_credit_card); in MergeProfiles()
Dform_structure.cc629 FormStructure* form_structure = form_structures[i]; in GetFieldTypePredictions() local
631 form.data.name = form_structure->form_name_; in GetFieldTypePredictions()
633 base::ASCIIToUTF16((form_structure->method_ == POST) ? "POST" : "GET"); in GetFieldTypePredictions()
634 form.data.origin = form_structure->source_url_; in GetFieldTypePredictions()
635 form.data.action = form_structure->target_url_; in GetFieldTypePredictions()
636 form.signature = form_structure->FormSignature(); in GetFieldTypePredictions()
639 form_structure->fields_.begin(); in GetFieldTypePredictions()
640 field != form_structure->fields_.end(); ++field) { in GetFieldTypePredictions()
Dautofill_manager.h236 FormStructure** form_structure) const WARN_UNUSED_RESULT;
244 FormStructure** form_structure,
Dautofill_metrics_unittest.cc196 TestFormStructure* form_structure = new TestFormStructure(empty_form); in AddSeenForm() local
197 form_structure->SetFieldTypes(heuristic_types, server_types); in AddSeenForm()
198 form_structures()->push_back(form_structure); in AddSeenForm()
/external/chromium_org/chrome/browser/ui/android/autofill/
Dautofill_dialog_controller_android.cc104 FormStructure& form_structure, in FillOutputForSectionWithComparator() argument
118 form_structure.FillFields(types, in FillOutputForSectionWithComparator()
126 FormStructure& form_structure, in FillOutputForSection() argument
139 form_structure, full_wallet, email_address); in FillOutputForSection()
143 for (size_t i = 0; i < form_structure.field_count(); ++i) { in FillOutputForSection()
144 AutofillField* field = form_structure.field(i); in FillOutputForSection()
154 const FormStructure& form_structure) { in IsSectionInputUsedInFormStructure() argument
155 for (size_t i = 0; i < form_structure.field_count(); ++i) { in IsSectionInputUsedInFormStructure()
156 const AutofillField* field = form_structure.field(i); in IsSectionInputUsedInFormStructure()
167 const FormStructure& form_structure) { in IsSectionInputsUsedInFormStructure() argument
[all …]
Dautofill_dialog_controller_android.h28 const FormData& form_structure,
56 const FormData& form_structure,
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_unittest.cc255 const FormData& form_structure, in TestAutofillDialogController() argument
261 form_structure, in TestAutofillDialogController()
604 ASSERT_EQ(20U, form_structure()->field_count()); in SubmitAndVerifyShippingAndBillingResults()
606 form_structure()->field(11)->Type().GetStorableType()); in SubmitAndVerifyShippingAndBillingResults()
607 EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(11)->Type().group()); in SubmitAndVerifyShippingAndBillingResults()
609 form_structure()->field(18)->Type().GetStorableType()); in SubmitAndVerifyShippingAndBillingResults()
610 EXPECT_EQ(ADDRESS_HOME, form_structure()->field(18)->Type().group()); in SubmitAndVerifyShippingAndBillingResults()
611 base::string16 billing_country = form_structure()->field(11)->value; in SubmitAndVerifyShippingAndBillingResults()
613 base::string16 shipping_country = form_structure()->field(18)->value; in SubmitAndVerifyShippingAndBillingResults()
620 form_structure()->field(1)->Type().GetStorableType()); in SubmitAndVerifyShippingAndBillingResults()
[all …]
Dautofill_dialog_controller.cc16 const FormData& form_structure, in Create() argument
Dautofill_dialog_controller.h38 const FormData& form_structure,
Ddata_model_wrapper.cc89 FormStructure* form_structure) const { in FillFormStructure()
90 return form_structure->FillFields( in FillFormStructure()
Ddata_model_wrapper.h83 FormStructure* form_structure) const;
Dautofill_dialog_controller_impl.h88 const FormData& form_structure,
237 const FormData& form_structure,
Dautofill_dialog_controller_impl.cc669 const FormData& form_structure, in Create() argument
675 form_structure, in Create()
709 const FormData& form_structure, in Create() argument
713 form_structure, in Create()
2774 const FormData& form_structure, in AutofillDialogControllerImpl() argument
2780 form_structure_(form_structure), in AutofillDialogControllerImpl()
/external/chromium_org/components/autofill/content/browser/
Drequest_autocomplete_manager.cc68 const FormStructure* form_structure) { in ReturnAutocompleteResult() argument
80 if (form_structure) { in ReturnAutocompleteResult()
81 form_data = form_structure->ToFormData(); in ReturnAutocompleteResult()
Dcontent_autofill_driver_unittest.cc261 FormStructure form_structure(form); in TEST_F() local
262 std::vector<FormStructure*> forms(1, &form_structure); in TEST_F()
273 FormStructure form_structure(form); in TEST_F() local
274 std::vector<FormStructure*> forms(1, &form_structure); in TEST_F()
Drequest_autocomplete_manager_unittest.cc51 FormStructure form_structure(form); in ShowRequestAutocompleteDialog() local
53 AutocompleteResultSuccess, base::string16(), &form_structure); in ShowRequestAutocompleteDialog()
Drequest_autocomplete_manager.h41 const FormStructure* form_structure);
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_cocoa_browsertest.mm34 const FormData& form_structure,
38 form_structure,
/external/chromium_org/components/
Dautofill.gypi172 'autofill/core/browser/form_structure.cc',
173 'autofill/core/browser/form_structure.h',
Dautofill_core_browser.target.darwin-arm64.mk62 components/autofill/core/browser/form_structure.cc \
Dautofill_core_browser.target.linux-arm64.mk62 components/autofill/core/browser/form_structure.cc \

12