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

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 7b16596d845c2081c35ff0352a488d58077f2942..c640d8004bc22b73bef0139e58cd3b4501b91958 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -138,6 +138,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
virtual bool HandleKeyPressEventInInput(
const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual void FocusMoved() OVERRIDE;
+ virtual void CheckboxStateChanged(DialogNotification::Type type,
+ bool checked) OVERRIDE;
virtual void ViewClosed() OVERRIDE;
virtual std::vector<DialogNotification> CurrentNotifications() const OVERRIDE;
virtual void StartSignInFlow() OVERRIDE;
@@ -271,8 +273,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();
@@ -485,6 +487,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