Searched refs:PhoneField (Results 1 – 4 of 4) sorted by relevance
/external/chromium/chrome/browser/autofill/ |
D | phone_field.cc | 29 PhoneField::Parser PhoneField::phone_field_grammars_[] = { 32 { PhoneField::REGEX_COUNTRY, PhoneField::FIELD_COUNTRY_CODE, 0 }, 33 { PhoneField::REGEX_AREA, PhoneField::FIELD_AREA_CODE, 0 }, 34 { PhoneField::REGEX_PHONE, PhoneField::FIELD_PHONE, 0 }, 35 { PhoneField::REGEX_SEPARATOR, FIELD_NONE, 0 }, 37 { PhoneField::REGEX_PHONE, PhoneField::FIELD_COUNTRY_CODE, 0 }, 38 { PhoneField::REGEX_PHONE, PhoneField::FIELD_AREA_CODE, 3 }, 39 { PhoneField::REGEX_PREFIX_SEPARATOR, PhoneField::FIELD_PHONE, 3 }, 40 { PhoneField::REGEX_SUFFIX_SEPARATOR, PhoneField::FIELD_SUFFIX, 4 }, 41 { PhoneField::REGEX_SEPARATOR, FIELD_NONE, 0 }, [all …]
|
D | phone_field_unittest.cc | 21 scoped_ptr<PhoneField> field_; 32 field_.reset(PhoneField::Parse(&iter_, false)); in TEST_F() 33 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F() 40 field_.reset(PhoneField::Parse(&iter_, false)); in TEST_F() 41 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F() 55 field_.reset(PhoneField::Parse(&iter_, false)); in TEST_F() 56 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F() 74 field_.reset(PhoneField::Parse(&iter_, true)); in TEST_F() 75 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F() 101 field_.reset(PhoneField::Parse(&iter_, false)); in TEST_F() [all …]
|
D | phone_field.h | 22 class PhoneField : public FormField { 24 virtual ~PhoneField(); 26 static PhoneField* Parse(std::vector<AutofillField*>::const_iterator* iter, 28 static PhoneField* ParseECML( 34 PhoneField(); 85 static bool ParseInternal(PhoneField* field, 119 DISALLOW_COPY_AND_ASSIGN(PhoneField);
|
D | form_field.cc | 155 field = PhoneField::Parse(iter, is_ecml); in ParseFormField()
|