| 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 cdfcde1e33259376bc3d343b9a6566a4e45a2f9d..ac1cdf65f943c08fdd71f35ed8e53c4385f12711 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"
|
| @@ -82,6 +83,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).
|
| @@ -155,8 +159,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;
|
|
|