| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| index c0df09302751f11794184ca5ac85b0548186d3e1..11e7bd833e72ffee6a44483e7fcfc060da723a99 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| @@ -25,7 +25,6 @@
|
| #include "components/autofill/browser/form_structure.h"
|
| #include "components/autofill/browser/personal_data_manager.h"
|
| #include "components/autofill/browser/personal_data_manager_observer.h"
|
| -#include "components/autofill/browser/wallet/required_action.h"
|
| #include "components/autofill/browser/wallet/wallet_client.h"
|
| #include "components/autofill/browser/wallet/wallet_client_delegate.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -102,6 +101,7 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| virtual bool AutocheckoutIsRunning() const OVERRIDE;
|
| virtual bool HadAutocheckoutError() const OVERRIDE;
|
| virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
|
| + virtual bool IsSubmitPausedOn(wallet::RequiredAction action) const OVERRIDE;
|
| virtual bool SectionIsActive(DialogSection section) const OVERRIDE;
|
| virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
|
| const OVERRIDE;
|
| @@ -132,7 +132,7 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| virtual void StartSignInFlow() OVERRIDE;
|
| virtual void EndSignInFlow() OVERRIDE;
|
| virtual void OnCancel() OVERRIDE;
|
| - virtual void OnSubmit() OVERRIDE;
|
| + virtual void OnAccept() OVERRIDE;
|
| virtual Profile* profile() OVERRIDE;
|
| virtual content::WebContents* web_contents() OVERRIDE;
|
|
|
| @@ -265,6 +265,9 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| DialogSection SectionForSuggestionsMenuModel(
|
| const SuggestionsMenuModel& model);
|
|
|
| + // Suggested text for a section in the middle of processing a required action.
|
| + string16 RequiredActionSuggestionTextForSection(DialogSection section);
|
| +
|
| // Loads profiles that can suggest data for |type|. |field_contents| is the
|
| // part the user has already typed. |inputs| is the rest of section.
|
| // Identifying info is loaded into the last three outparams as well as
|
| @@ -401,8 +404,9 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
|
| // Whether this is an Autocheckout or a requestAutocomplete dialog.
|
| const DialogType dialog_type_;
|
|
|
| - // True if the termination action was a submit.
|
| - bool did_submit_;
|
| + // True after the user first accepts the dialog and presses "Submit". May
|
| + // continue to be true while process required actions.
|
| + bool is_submitting_;
|
|
|
| // Whether or not an Autocheckout flow is running.
|
| bool autocheckout_is_running_;
|
|
|