Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 12221040: Interactive autofill: Handle Online Wallet being unavailable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: x Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8f660746626a6b9f31d7b6145003b3a31d06c083..6eea926e7e8febaf6df79a8485f1af7a62bd4668 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h
@@ -38,12 +38,14 @@ class AutofillDialogController {
// Strings -------------------------------------------------------------------
virtual string16 DialogTitle() const = 0;
+ virtual string16 PayWithoutWallet() 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 SignedInUser() const = 0;
Evan Stade 2013/02/06 21:57:49 notice how these all end in a word that makes it o
Dan Beam 2013/02/07 01:22:40 I do now! :)
virtual string16 CancelSignInText() const = 0;
virtual string16 SaveLocallyText() const = 0;
virtual string16 ProgressBarText() const = 0;
@@ -53,6 +55,9 @@ class AutofillDialogController {
// Whether the user is known to be signed in.
virtual DialogSignedInState SignedInState() const = 0;
+ // Whether wallet is available to get information from.
Evan Stade 2013/02/06 21:57:49 this comment doesn't add much value... you should
Dan Beam 2013/02/07 01:22:40 I've added a better comment and renamed to CanPayW
+ virtual bool IsWalletAvailable() const = 0;
+
// Detail inputs -------------------------------------------------------------
// Returns the set of inputs the page has requested which fall under

Powered by Google App Engine
This is Rietveld 408576698