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 a008b5b5b3d88918078812ee142ab229272a9929..95e117109605fb031a57646ae948b6a2e602117b 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h |
@@ -38,12 +38,12 @@ class AutofillDialogController { |
// Strings ------------------------------------------------------------------- |
virtual string16 DialogTitle() const = 0; |
+ virtual string16 AccountChooserText() const = 0; |
virtual string16 EditSuggestionText() const = 0; |
virtual string16 UseBillingForShippingText() const = 0; |
virtual string16 WalletOptionText() const = 0; |
virtual string16 CancelButtonText() const = 0; |
virtual string16 ConfirmButtonText() const = 0; |
- virtual string16 SignInText() const = 0; |
virtual string16 CancelSignInText() const = 0; |
virtual string16 SaveLocallyText() const = 0; |
virtual string16 ProgressBarText() const = 0; |
@@ -53,6 +53,13 @@ class AutofillDialogController { |
// Whether the user is known to be signed in. |
virtual DialogSignedInState SignedInState() const = 0; |
+ // Whether or not Wallet can be used for this transaction. Returns false if |
+ // any network/Wallet errors occur while running this dialog. |
+ virtual bool CanPayWithWallet() const = 0; |
+ |
+ // Whether the account chooser is enabled (clickable). |
+ virtual bool AccountChooserEnabled() const = 0; |
+ |
// Detail inputs ------------------------------------------------------------- |
// Returns the set of inputs the page has requested which fall under |