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

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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void GetUserInput(DialogSection section, DetailOutputMap* output) = 0; 43 virtual void GetUserInput(DialogSection section, DetailOutputMap* output) = 0;
44 44
45 // Gets the CVC value the user typed to go along with the stored credit card 45 // Gets the CVC value the user typed to go along with the stored credit card
46 // data. If the user is inputing credit card data from scratch, this is not 46 // data. If the user is inputing credit card data from scratch, this is not
47 // relevant. 47 // relevant.
48 virtual string16 GetCvc() = 0; 48 virtual string16 GetCvc() = 0;
49 49
50 // Returns the state of the "use billing address for shipping" checkbox. 50 // Returns the state of the "use billing address for shipping" checkbox.
51 virtual bool UseBillingForShipping() = 0; 51 virtual bool UseBillingForShipping() = 0;
52 52
53 // Returns true if current input should be saved in Wallet (if it differs).
54 virtual bool SaveDetailsInWallet() = 0;
55
56 // Returns true if new or edited autofill details should be saved. 53 // Returns true if new or edited autofill details should be saved.
57 virtual bool SaveDetailsLocally() = 0; 54 virtual bool SaveDetailsLocally() = 0;
58 55
59 // Triggers dialog to sign in to Google. 56 // Triggers dialog to sign in to Google.
60 // Returns a NotificationSource to be used to monitor for sign-in completion. 57 // Returns a NotificationSource to be used to monitor for sign-in completion.
61 virtual const content::NavigationController* ShowSignIn() = 0; 58 virtual const content::NavigationController* ShowSignIn() = 0;
62 59
63 // Closes out any signin UI and returns to normal operation. 60 // Closes out any signin UI and returns to normal operation.
64 virtual void HideSignIn() = 0; 61 virtual void HideSignIn() = 0;
65 62
(...skipping 11 matching lines...) Expand all
77 virtual void CancelForTesting() = 0; 74 virtual void CancelForTesting() = 0;
78 75
79 // Factory function to create the dialog (implemented once per view 76 // Factory function to create the dialog (implemented once per view
80 // implementation). |controller| will own the created dialog. 77 // implementation). |controller| will own the created dialog.
81 static AutofillDialogView* Create(AutofillDialogController* controller); 78 static AutofillDialogView* Create(AutofillDialogController* controller);
82 }; 79 };
83 80
84 } // namespace autofill 81 } // namespace autofill
85 82
86 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ 83 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.cc ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698