HomeSort by relevance Sort by last modified time
    Searched refs:FormField (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/chromium/webkit/glue/
form_field.h 25 FormField {
26 FormField();
28 explicit FormField(WebKit::WebFormControlElement element);
30 FormField(const string16& label,
36 virtual ~FormField();
42 bool operator==(const FormField& field) const;
43 bool operator!=(const FormField& field) const;
47 bool StrictlyEqualsHack(const FormField& field) const;
59 std::ostream& operator<<(std::ostream& os, const FormField& field);
form_field.cc 26 FormField::FormField()
34 FormField::FormField(WebFormControlElement element)
66 FormField::FormField(const string16& label,
80 FormField::~FormField() {
83 bool FormField::operator==(const FormField& field) const
    [all...]
form_data.h 36 std::vector<FormField> fields;
  /external/chromium_org/components/autofill/core/browser/
form_field_unittest.cc 18 EXPECT_TRUE(FormField::Match(&field, base::string16(),
19 FormField::MATCH_LABEL));
23 EXPECT_TRUE(FormField::Match(&field, base::string16(),
24 FormField::MATCH_LABEL));
28 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"),
29 FormField::MATCH_LABEL));
33 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"),
34 FormField::MATCH_LABEL));
38 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"),
39 FormField::MATCH_LABEL))
    [all...]
email_field.h 14 class EmailField : public FormField {
16 static FormField* Parse(AutofillScanner* scanner);
19 // FormField:
credit_card_field.h 21 class CreditCardField : public FormField {
23 static FormField* Parse(AutofillScanner* scanner);
26 // FormField:
form_field.cc 37 void FormField::ParseFormFields(const std::vector<AutofillField*>& fields,
68 bool FormField::ParseField(AutofillScanner* scanner,
75 bool FormField::ParseFieldSpecifics(AutofillScanner* scanner,
91 bool FormField::ParseEmptyLabel(AutofillScanner* scanner,
100 bool FormField::AddClassification(const AutofillField* field,
111 bool FormField::MatchAndAdvance(AutofillScanner* scanner,
116 if (FormField::Match(field, pattern, match_type)) {
127 bool FormField::Match(const AutofillField* field,
130 if ((match_type & FormField::MATCH_LABEL) &&
135 if ((match_type & FormField::MATCH_NAME) &
    [all...]
form_field.h 23 class FormField {
25 virtual ~FormField() {}
56 FormField() {}
95 typedef FormField* ParseFunction(AutofillScanner* scanner);
124 DISALLOW_COPY_AND_ASSIGN(FormField);
name_field.h 20 class NameField : public FormField {
22 static FormField* Parse(AutofillScanner* scanner);
27 // FormField:
phone_field.h 24 class PhoneField : public FormField {
28 static FormField* Parse(AutofillScanner* scanner);
31 // FormField:
  /external/chromium/chrome/browser/autofill/
form_field_unittest.cc 16 EXPECT_TRUE(FormField::Match(&field, string16(), true));
20 EXPECT_TRUE(FormField::Match(&field, string16(), true));
24 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"), true));
28 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"), true));
32 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"), true));
36 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head"), true));
37 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^tail"), true));
41 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("head$"), true));
42 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("tail$"), true));
46 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^head$"), true))
    [all...]
select_control_handler.h 15 struct FormField;
26 webkit_glue::FormField* field);
form_structure_unittest.cc 30 for (std::vector<webkit_glue::FormField>::const_iterator iter =
54 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"),
60 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("password"),
66 form.fields.push_back(webkit_glue::FormField(string16(),
81 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"),
87 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("password"),
93 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("state"),
99 form.fields.push_back(webkit_glue::FormField(string16(),
127 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"),
133 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("password")
    [all...]
name_field_unittest.cc 31 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("First Name"),
39 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Middle Name"),
47 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Last Name"),
72 new AutofillField(webkit_glue::FormField(string16(),
80 new AutofillField(webkit_glue::FormField(string16(),
88 new AutofillField(webkit_glue::FormField(string16(),
113 new AutofillField(webkit_glue::FormField(string16(),
121 new AutofillField(webkit_glue::FormField(string16(),
143 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Name"),
151 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Name")
    [all...]
credit_card_field_unittest.cc 46 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Month"),
54 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"),
69 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Card Number"),
84 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Card Number"),
92 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Month"),
100 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Exp Year"),
126 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Card Number"),
135 webkit_glue::FormField(ASCIIToUTF16("Exp Month"),
144 webkit_glue::FormField(ASCIIToUTF16("Exp Year"),
170 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Name on Card")
    [all...]
form_field.cc 90 class EmailField : public FormField {
120 FormFieldType FormField::GetFormFieldType() const {
125 bool FormField::Match(AutofillField* field,
147 FormField* FormField::ParseFormField(
150 FormField *field;
171 bool FormField::ParseText(std::vector<AutofillField*>::const_iterator* iter,
178 bool FormField::ParseText(std::vector<AutofillField*>::const_iterator* iter,
185 bool FormField::ParseEmptyText(
192 bool FormField::ParseLabelText
    [all...]
form_field.h 69 class FormField {
71 virtual ~FormField() {}
73 // Associates the available AutofillTypes of a FormField into
88 static FormField* ParseFormField(
123 FormField() {}
131 // ECML standard '_' (see FormField::FormField for details).
149 DISALLOW_COPY_AND_ASSIGN(FormField);
152 class FormFieldSet : public std::vector<FormField*> {
autofill_common_test.h 14 struct FormField;
20 // Provides a quick way to populate a FormField with c-strings.
25 webkit_glue::FormField* field);
autofill_field.h 16 class AutofillField : public webkit_glue::FormField {
19 AutofillField(const webkit_glue::FormField& field,
  /external/smack/src/org/jivesoftware/smackx/packet/
DataForm.java 25 import org.jivesoftware.smackx.FormField;
45 private final List<FormField> fields = new ArrayList<FormField>();
120 public Iterator<FormField> getFields() {
122 return Collections.unmodifiableList(new ArrayList<FormField>(fields)).iterator();
169 public void addField(FormField field) {
207 for (FormField f : fields) {
234 for (Iterator<FormField> i = getFields(); i.hasNext();) {
235 FormField field = i.next();
250 private List<FormField> fields = new ArrayList<FormField>()
    [all...]
  /external/smack/src/org/jivesoftware/smackx/
Form.java 115 public void addField(FormField field) {
134 FormField field = getField(variable);
138 if (!FormField.TYPE_TEXT_MULTI.equals(field.getType())
139 && !FormField.TYPE_TEXT_PRIVATE.equals(field.getType())
140 && !FormField.TYPE_TEXT_SINGLE.equals(field.getType())
141 && !FormField.TYPE_JID_SINGLE.equals(field.getType())
142 && !FormField.TYPE_HIDDEN.equals(field.getType())) {
160 FormField field = getField(variable);
164 if (!FormField.TYPE_TEXT_MULTI.equals(field.getType())
165 && !FormField.TYPE_TEXT_PRIVATE.equals(field.getType()
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/
ConfigureForm.java 21 import org.jivesoftware.smackx.FormField;
93 addField(ConfigureNodeFields.access_model, FormField.TYPE_LIST_SINGLE);
116 addField(ConfigureNodeFields.body_xslt, FormField.TYPE_TEXT_SINGLE);
137 addField(ConfigureNodeFields.children, FormField.TYPE_TEXT_MULTI);
163 addField(ConfigureNodeFields.children_association_policy, FormField.TYPE_LIST_SINGLE);
190 addField(ConfigureNodeFields.children_association_whitelist, FormField.TYPE_JID_MULTI);
211 addField(ConfigureNodeFields.children_max, FormField.TYPE_TEXT_SINGLE);
232 addField(ConfigureNodeFields.collection, FormField.TYPE_TEXT_SINGLE);
257 addField(ConfigureNodeFields.dataform_xslt, FormField.TYPE_TEXT_SINGLE);
278 addField(ConfigureNodeFields.deliver_payloads, FormField.TYPE_BOOLEAN);
    [all...]
SubscribeForm.java 26 import org.jivesoftware.smackx.FormField;
73 addField(SubscribeOptionFields.deliver, FormField.TYPE_BOOLEAN);
94 addField(SubscribeOptionFields.deliver, FormField.TYPE_BOOLEAN);
115 addField(SubscribeOptionFields.digest_frequency, FormField.TYPE_TEXT_SINGLE);
146 addField(SubscribeOptionFields.expire, FormField.TYPE_TEXT_SINGLE);
169 addField(SubscribeOptionFields.include_body, FormField.TYPE_BOOLEAN);
206 addField(SubscribeOptionFields.show_values, FormField.TYPE_LIST_MULTI);
218 FormField formField = getField(field.getFieldName());
220 return formField.getValues().next();
    [all...]
  /external/smack/src/org/jivesoftware/smackx/provider/
DataFormProvider.java 25 import org.jivesoftware.smackx.FormField;
77 private FormField parseField(XmlPullParser parser) throws Exception {
79 FormField formField = new FormField(parser.getAttributeValue("", "var"));
80 formField.setLabel(parser.getAttributeValue("", "label"));
81 formField.setType(parser.getAttributeValue("", "type"));
86 formField.setDescription(parser.nextText());
89 formField.addValue(parser.nextText());
92 formField.setRequired(true)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/muc/
RoomInfo.java 24 import org.jivesoftware.smackx.FormField;
92 FormField descField = form.getField("muc#roominfo_description");
95 FormField subjField = form.getField("muc#roominfo_subject");
98 FormField occCountField = form.getField("muc#roominfo_occupants");

Completed in 560 milliseconds

1 2 3