| 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 b19910f90c8d8e885239cb42d5aa1d61d99b2029..f82687a397e77787f8e238c6f080d3f72079e56a 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 "components/autofill/browser/wallet/wallet_signin_helper_delegate.h"
|
| @@ -109,6 +108,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;
|
| @@ -139,7 +139,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;
|
|
|
| @@ -295,6 +295,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
|
| @@ -441,8 +444,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 processing required actions.
|
| + bool is_submitting_;
|
|
|
| // Whether or not an Autocheckout flow is running.
|
| bool autocheckout_is_running_;
|
|
|