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..a043deda38dd08917a73a67cc3a9ecf0f3de34ef 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 |