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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_view.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
7 7
8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" 8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void GetUserInput(DialogSection section, DetailOutputMap* output) = 0; 42 virtual void GetUserInput(DialogSection section, DetailOutputMap* output) = 0;
43 43
44 // Gets the CVC value the user typed to go along with the stored credit card 44 // Gets the CVC value the user typed to go along with the stored credit card
45 // data. If the user is inputing credit card data from scratch, this is not 45 // data. If the user is inputing credit card data from scratch, this is not
46 // relevant. 46 // relevant.
47 virtual string16 GetCvc() = 0; 47 virtual string16 GetCvc() = 0;
48 48
49 // Returns the state of the "use billing address for shipping" checkbox. 49 // Returns the state of the "use billing address for shipping" checkbox.
50 virtual bool UseBillingForShipping() = 0; 50 virtual bool UseBillingForShipping() = 0;
51 51
52 // Returns true if current input should be saved in Wallet (if it differs).
53 virtual bool SaveDetailsInWallet() = 0;
54
55 // Returns true if new or edited autofill details should be saved. 52 // Returns true if new or edited autofill details should be saved.
56 virtual bool SaveDetailsLocally() = 0; 53 virtual bool SaveDetailsLocally() = 0;
57 54
58 // Triggers dialog to sign in to Google. 55 // Triggers dialog to sign in to Google.
59 // Returns a NotificationSource to be used to monitor for sign-in completion. 56 // Returns a NotificationSource to be used to monitor for sign-in completion.
60 virtual const content::NavigationController* ShowSignIn() = 0; 57 virtual const content::NavigationController* ShowSignIn() = 0;
61 58
62 // Closes out any signin UI and returns to normal operation. 59 // Closes out any signin UI and returns to normal operation.
63 virtual void HideSignIn() = 0; 60 virtual void HideSignIn() = 0;
64 61
(...skipping 11 matching lines...) Expand all
76 virtual void CancelForTesting() = 0; 73 virtual void CancelForTesting() = 0;
77 74
78 // Factory function to create the dialog (implemented once per view 75 // Factory function to create the dialog (implemented once per view
79 // implementation). |controller| will own the created dialog. 76 // implementation). |controller| will own the created dialog.
80 static AutofillDialogView* Create(AutofillDialogController* controller); 77 static AutofillDialogView* Create(AutofillDialogController* controller);
81 }; 78 };
82 79
83 } // namespace autofill 80 } // namespace autofill
84 81
85 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ 82 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698