Home
last modified time | relevance | path

Searched refs:option_values (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/components/autofill/core/browser/
Dautofill_field.cc43 DCHECK_EQ(field->option_values.size(), field->option_contents.size()); in SetSelectControlValue()
45 for (size_t i = 0; i < field->option_values.size(); ++i) { in SetSelectControlValue()
46 if (value == field->option_values[i] || in SetSelectControlValue()
49 best_match = field->option_values[i]; in SetSelectControlValue()
53 if (value_lowercase == StringToLowerASCII(field->option_values[i]) || in SetSelectControlValue()
57 best_match = field->option_values[i]; in SetSelectControlValue()
72 DCHECK_EQ(field->option_values.size(), field->option_contents.size()); in FillNumericSelectControl()
73 for (size_t i = 0; i < field->option_values.size(); ++i) { in FillNumericSelectControl()
75 if ((StringToInt(field->option_values[i], &option) && option == value) || in FillNumericSelectControl()
77 field->value = field->option_values[i]; in FillNumericSelectControl()
[all …]
Dautofill_field_unittest.cc28 form_field.option_values = options16; in GenerateSelectFieldWithOptions()
167 for (size_t i = 0; i < field.option_values.size(); ++i) { in TEST()
168 field.option_values[i] = ASCIIToUTF16(base::StringPrintf("%" PRIuS, i)); in TEST()
/external/chromium_org/components/autofill/core/common/
Dform_data_unittest.cc34 field_data.option_values.push_back(ASCIIToUTF16("First")); in TEST()
35 field_data.option_values.push_back(ASCIIToUTF16("Second")); in TEST()
43 field_data.option_values.push_back(ASCIIToUTF16("Third")); in TEST()
Dform_field_data_unittest.cc28 data.option_values.push_back(ASCIIToUTF16("First")); in TEST()
29 data.option_values.push_back(ASCIIToUTF16("Second")); in TEST()
Dform_field_data.cc111 AddVectorToPickle(field_data.option_values, pickle); in SerializeFormFieldData()
137 !ReadStringVector(iter, &field_data->option_values) || in DeserializeFormFieldData()
Dform_field_data.h47 std::vector<base::string16> option_values; member
/external/chromium_org/components/autofill/content/renderer/
Dform_autofill_util.cc444 std::vector<base::string16>* option_values, in GetOptionStringsFromElement() argument
448 option_values->clear(); in GetOptionStringsFromElement()
451 option_values->reserve(list_items.size()); in GetOptionStringsFromElement()
456 option_values->push_back(option.value()); in GetOptionStringsFromElement()
788 &field->option_values, in WebFormControlElementToFormField()
/external/chromium_org/components/autofill/content/common/
Dautofill_messages.h54 IPC_STRUCT_TRAITS_MEMBER(option_values)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
Dchecker_unittest.py241 option_values = CommandOptionValues()
242 configuration = check_webkit_style_configuration(option_values)
/external/chromium_org/chrome/renderer/autofill/
Dform_autofill_browsertest.cc438 ASSERT_EQ(2U, result3.option_values.size()); in TEST_F()
440 EXPECT_EQ(ASCIIToUTF16("CA"), result3.option_values[0]); in TEST_F()
442 EXPECT_EQ(ASCIIToUTF16("TX"), result3.option_values[1]); in TEST_F()