| 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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void Show(); | 54 void Show(); |
| 55 | 55 |
| 56 // AutofillDialogController implementation. | 56 // AutofillDialogController implementation. |
| 57 virtual string16 DialogTitle() const OVERRIDE; | 57 virtual string16 DialogTitle() const OVERRIDE; |
| 58 virtual string16 EditSuggestionText() const OVERRIDE; | 58 virtual string16 EditSuggestionText() const OVERRIDE; |
| 59 virtual string16 UseBillingForShippingText() const OVERRIDE; | 59 virtual string16 UseBillingForShippingText() const OVERRIDE; |
| 60 virtual string16 WalletOptionText() const OVERRIDE; | 60 virtual string16 WalletOptionText() const OVERRIDE; |
| 61 virtual string16 CancelButtonText() const OVERRIDE; | 61 virtual string16 CancelButtonText() const OVERRIDE; |
| 62 virtual string16 ConfirmButtonText() const OVERRIDE; | 62 virtual string16 ConfirmButtonText() const OVERRIDE; |
| 63 virtual string16 SignInText() const OVERRIDE; | 63 virtual string16 SignInText() const OVERRIDE; |
| 64 virtual string16 SaveLocallyText() const OVERRIDE; |
| 64 virtual string16 CancelSignInText() const OVERRIDE; | 65 virtual string16 CancelSignInText() const OVERRIDE; |
| 65 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 66 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
| 66 const OVERRIDE; | 67 const OVERRIDE; |
| 67 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 68 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
| 68 AutofillFieldType type) OVERRIDE; | 69 AutofillFieldType type) OVERRIDE; |
| 69 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 70 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
| 70 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; | 71 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; |
| 71 virtual string16 SuggestionTextForSection(DialogSection section) OVERRIDE; | 72 virtual string16 SuggestionTextForSection(DialogSection section) OVERRIDE; |
| 72 virtual void EditClickedForSection(DialogSection section) OVERRIDE; | 73 virtual void EditClickedForSection(DialogSection section) OVERRIDE; |
| 73 virtual bool InputIsValid(const DetailInput* input, const string16& value) | 74 virtual bool InputIsValid(const DetailInput* input, const string16& value) |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 225 |
| 225 // A NotificationRegistrar for tracking the completion of sign-in. | 226 // A NotificationRegistrar for tracking the completion of sign-in. |
| 226 content::NotificationRegistrar registrar_; | 227 content::NotificationRegistrar registrar_; |
| 227 | 228 |
| 228 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 229 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 229 }; | 230 }; |
| 230 | 231 |
| 231 } // namespace autofill | 232 } // namespace autofill |
| 232 | 233 |
| 233 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 234 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |