| Index: chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc b/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
|
| index bcac6123e56e34d1176e695a47cd7b1e15be9339..c453a0efcee808ca5f49061862694d358933e723 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
|
| @@ -402,6 +402,14 @@ void PaymentRequestBrowserTestBase::PayWithCreditCardAndWait(
|
| ClickOnDialogViewAndWait(DialogViewID::CVC_PROMPT_CONFIRM_BUTTON);
|
| }
|
|
|
| +base::string16 PaymentRequestBrowserTestBase::GetEditorTextfieldValue(
|
| + autofill::ServerFieldType type) {
|
| + ValidatingTextfield* textfield = static_cast<ValidatingTextfield*>(
|
| + delegate_->dialog_view()->GetViewByID(static_cast<int>(type)));
|
| + DCHECK(textfield);
|
| + return textfield->text();
|
| +}
|
| +
|
| void PaymentRequestBrowserTestBase::SetEditorTextfieldValue(
|
| const base::string16& value,
|
| autofill::ServerFieldType type) {
|
| @@ -413,6 +421,14 @@ void PaymentRequestBrowserTestBase::SetEditorTextfieldValue(
|
| textfield->OnBlur();
|
| }
|
|
|
| +base::string16 PaymentRequestBrowserTestBase::GetComboboxValue(
|
| + autofill::ServerFieldType type) {
|
| + ValidatingCombobox* combobox = static_cast<ValidatingCombobox*>(
|
| + delegate_->dialog_view()->GetViewByID(static_cast<int>(type)));
|
| + DCHECK(combobox);
|
| + return combobox->model()->GetItemAt(combobox->selected_index());
|
| +}
|
| +
|
| void PaymentRequestBrowserTestBase::SetComboboxValue(
|
| const base::string16& value,
|
| autofill::ServerFieldType type) {
|
|
|