| Index: chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| index 2269dff853a1c407471119f66018c6cd52b5d65f..11e383ccf30978b616b0beb4b44216314a0ad922 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/string16.h"
|
| #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
|
| #include "components/autofill/browser/field_types.h"
|
| +#include "components/autofill/browser/wallet/required_action.h"
|
| #include "ui/base/ui_base_types.h"
|
| #include "ui/gfx/image/image.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -74,6 +75,9 @@ class AutofillDialogController {
|
| // Whether or not the |button| should be enabled.
|
| virtual bool IsDialogButtonEnabled(ui::DialogButton button) const = 0;
|
|
|
| + // Whether the submission process is paused on |action| (e.g. VERIFY_CVV).
|
| + virtual bool IsSubmitPausedOn(wallet::RequiredAction action) const = 0;
|
| +
|
| // Detail inputs -------------------------------------------------------------
|
|
|
| // Whether the section is currently active (i.e. should be shown).
|
| @@ -147,8 +151,9 @@ class AutofillDialogController {
|
| // Called when the view has been cancelled.
|
| virtual void OnCancel() = 0;
|
|
|
| - // Called when the view has been accepted.
|
| - virtual void OnSubmit() = 0;
|
| + // Called when the view has been accepted. This could be to submit the payment
|
| + // info or to handle a required action.
|
| + virtual void OnAccept() = 0;
|
|
|
| // Returns the profile for this dialog.
|
| virtual Profile* profile() = 0;
|
|
|