OLD | NEW |
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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 VALIDATE_EDIT, // validate user edits. Allow for empty fields. | 41 VALIDATE_EDIT, // validate user edits. Allow for empty fields. |
42 VALIDATE_FINAL, // Full form validation. Mandatory fields can't be empty. | 42 VALIDATE_FINAL, // Full form validation. Mandatory fields can't be empty. |
43 }; | 43 }; |
44 | 44 |
45 // Strings ------------------------------------------------------------------- | 45 // Strings ------------------------------------------------------------------- |
46 | 46 |
47 virtual string16 DialogTitle() const = 0; | 47 virtual string16 DialogTitle() const = 0; |
48 virtual string16 AccountChooserText() const = 0; | 48 virtual string16 AccountChooserText() const = 0; |
49 virtual string16 SignInLinkText() const = 0; | 49 virtual string16 SignInLinkText() const = 0; |
50 virtual string16 EditSuggestionText() const = 0; | 50 virtual string16 EditSuggestionText() const = 0; |
51 virtual string16 UseBillingForShippingText() const = 0; | |
52 virtual string16 CancelButtonText() const = 0; | 51 virtual string16 CancelButtonText() const = 0; |
53 virtual string16 ConfirmButtonText() const = 0; | 52 virtual string16 ConfirmButtonText() const = 0; |
54 virtual string16 CancelSignInText() const = 0; | 53 virtual string16 CancelSignInText() const = 0; |
55 virtual string16 SaveLocallyText() const = 0; | 54 virtual string16 SaveLocallyText() const = 0; |
56 virtual string16 ProgressBarText() const = 0; | 55 virtual string16 ProgressBarText() const = 0; |
57 virtual string16 LegalDocumentsText() = 0; | 56 virtual string16 LegalDocumentsText() = 0; |
58 | 57 |
59 // State --------------------------------------------------------------------- | 58 // State --------------------------------------------------------------------- |
60 | 59 |
61 // Whether the user is known to be signed in. | 60 // Whether the user is known to be signed in. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // The web contents that prompted the dialog. | 183 // The web contents that prompted the dialog. |
185 virtual content::WebContents* web_contents() = 0; | 184 virtual content::WebContents* web_contents() = 0; |
186 | 185 |
187 protected: | 186 protected: |
188 virtual ~AutofillDialogController(); | 187 virtual ~AutofillDialogController(); |
189 }; | 188 }; |
190 | 189 |
191 } // namespace autofill | 190 } // namespace autofill |
192 | 191 |
193 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ | 192 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
OLD | NEW |