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

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

Issue 13625002: Change the behavior of the [X] Save details to Wallet checkbox notification to: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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_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 a5da03300762b9fac866a7b3a5f73d39e8cbeee8..c4d313509565dc2868bb6b77c4d1fb4b49b85c6e 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -107,6 +107,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
virtual bool ShouldOfferToSaveInChrome() const OVERRIDE;
virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE;
virtual gfx::Image AccountChooserImage() OVERRIDE;
+ virtual bool GetPayWithoutWallet() const OVERRIDE;
+ virtual void SetPayWithoutWallet(bool pay_without_wallet) OVERRIDE;
virtual bool AutocheckoutIsRunning() const OVERRIDE;
virtual bool HadAutocheckoutError() const OVERRIDE;
virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
@@ -260,8 +262,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// Whether the user's wallet items have at least one address and instrument.
bool HasCompleteWallet() const;
- // Starts fetching the wallet items.
- void StartFetchingWalletItems();
+ // Starts fetching the wallet items from Online Wallet.
+ void GetWalletItems();
// Refreshes the model on Wallet or sign-in state update.
void OnWalletOrSigninUpdate();
@@ -470,6 +472,9 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// Whether this is an Autocheckout or a requestAutocomplete dialog.
const DialogType dialog_type_;
+ // Whether this is the first time this profile has seen the Autofill dialog.
+ bool is_first_run_;
+
// True after the user first accepts the dialog and presses "Submit". May
// continue to be true while processing required actions.
bool is_submitting_;

Powered by Google App Engine
This is Rietveld 408576698