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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.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/views/autofill/autofill_dialog_views.h
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
index 6ff62d25eec8cf6244b526bcb7db21bd38b54356..eb9afd2b8ddc3daeec0c5c4af24a92d986e88692 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -78,7 +78,6 @@ class AutofillDialogViews : public AutofillDialogView,
DetailOutputMap* output) OVERRIDE;
virtual string16 GetCvc() OVERRIDE;
virtual bool UseBillingForShipping() OVERRIDE;
- virtual bool SaveDetailsInWallet() OVERRIDE;
virtual bool SaveDetailsLocally() OVERRIDE;
virtual const content::NavigationController* ShowSignIn() OVERRIDE;
virtual void HideSignIn() OVERRIDE;
@@ -220,15 +219,12 @@ class AutofillDialogViews : public AutofillDialogView,
// Displays the given notifications.
void SetNotifications(const std::vector<DialogNotification>& notifications);
- // Returns true if the checkbox exists and is checked. Currently, the
- // notification area only supports showing a checkbox on the topmost
- // notification.
- bool CheckboxIsChecked() const;
-
// views::View implementation.
virtual std::string GetClassName() const OVERRIDE;
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ views::Checkbox* checkbox() { return checkbox_; }
+
private:
// Utility function for determining whether an arrow should be drawn
// pointing at |arrow_centering_anchor_|.

Powered by Google App Engine
This is Rietveld 408576698