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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual string16 DialogTitle() const OVERRIDE; | 63 virtual string16 DialogTitle() const OVERRIDE; |
64 virtual string16 EditSuggestionText() const OVERRIDE; | 64 virtual string16 EditSuggestionText() const OVERRIDE; |
65 virtual string16 UseBillingForShippingText() const OVERRIDE; | 65 virtual string16 UseBillingForShippingText() const OVERRIDE; |
66 virtual string16 WalletOptionText() const OVERRIDE; | 66 virtual string16 WalletOptionText() const OVERRIDE; |
67 virtual string16 CancelButtonText() const OVERRIDE; | 67 virtual string16 CancelButtonText() const OVERRIDE; |
68 virtual string16 ConfirmButtonText() const OVERRIDE; | 68 virtual string16 ConfirmButtonText() const OVERRIDE; |
69 virtual string16 SignInText() const OVERRIDE; | 69 virtual string16 SignInText() const OVERRIDE; |
70 virtual string16 SaveLocallyText() const OVERRIDE; | 70 virtual string16 SaveLocallyText() const OVERRIDE; |
71 virtual string16 CancelSignInText() const OVERRIDE; | 71 virtual string16 CancelSignInText() const OVERRIDE; |
72 virtual string16 ProgressBarText() const OVERRIDE; | 72 virtual string16 ProgressBarText() const OVERRIDE; |
| 73 virtual std::vector<string16> FootnoteLinkParts() const OVERRIDE; |
| 74 virtual string16 AcceptFootnoteLinksText() const OVERRIDE; |
73 virtual DialogSignedInState SignedInState() const OVERRIDE; | 75 virtual DialogSignedInState SignedInState() const OVERRIDE; |
74 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 76 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
75 const OVERRIDE; | 77 const OVERRIDE; |
76 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 78 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
77 AutofillFieldType type) OVERRIDE; | 79 AutofillFieldType type) OVERRIDE; |
78 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 80 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
79 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; | 81 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; |
80 virtual string16 SuggestionTextForSection(DialogSection section) OVERRIDE; | 82 virtual string16 SuggestionTextForSection(DialogSection section) OVERRIDE; |
81 virtual gfx::Image SuggestionIconForSection(DialogSection section) OVERRIDE; | 83 virtual gfx::Image SuggestionIconForSection(DialogSection section) OVERRIDE; |
82 virtual void EditClickedForSection(DialogSection section) OVERRIDE; | 84 virtual void EditClickedForSection(DialogSection section) OVERRIDE; |
83 virtual bool InputIsValid(AutofillFieldType type, const string16& value) | 85 virtual bool InputIsValid(AutofillFieldType type, const string16& value) |
84 OVERRIDE; | 86 OVERRIDE; |
85 virtual void UserEditedOrActivatedInput(const DetailInput* input, | 87 virtual void UserEditedOrActivatedInput(const DetailInput* input, |
86 DialogSection section, | 88 DialogSection section, |
87 gfx::NativeView parent_view, | 89 gfx::NativeView parent_view, |
88 const gfx::Rect& content_bounds, | 90 const gfx::Rect& content_bounds, |
89 const string16& field_contents, | 91 const string16& field_contents, |
90 bool was_edit) OVERRIDE; | 92 bool was_edit) OVERRIDE; |
91 virtual bool HandleKeyPressEventInInput( | 93 virtual bool HandleKeyPressEventInInput( |
92 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 94 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
93 virtual void FocusMoved() OVERRIDE; | 95 virtual void FocusMoved() OVERRIDE; |
94 virtual void ViewClosed(DialogAction action) OVERRIDE; | |
95 virtual DialogNotification CurrentNotification() const OVERRIDE; | 96 virtual DialogNotification CurrentNotification() const OVERRIDE; |
96 virtual void StartSignInFlow() OVERRIDE; | 97 virtual void StartSignInFlow() OVERRIDE; |
97 virtual void EndSignInFlow() OVERRIDE; | 98 virtual void EndSignInFlow() OVERRIDE; |
98 virtual Profile* profile() OVERRIDE; | 99 virtual Profile* profile() OVERRIDE; |
99 virtual content::WebContents* web_contents() OVERRIDE; | 100 virtual content::WebContents* web_contents() OVERRIDE; |
| 101 virtual void LegalDocumentLinkClicked(size_t index) OVERRIDE; |
| 102 virtual void ViewClosed(DialogAction action) OVERRIDE; |
100 | 103 |
101 // AutofillPopupDelegate implementation. | 104 // AutofillPopupDelegate implementation. |
102 virtual void OnPopupShown(content::KeyboardListener* listener) OVERRIDE; | 105 virtual void OnPopupShown(content::KeyboardListener* listener) OVERRIDE; |
103 virtual void OnPopupHidden(content::KeyboardListener* listener) OVERRIDE; | 106 virtual void OnPopupHidden(content::KeyboardListener* listener) OVERRIDE; |
104 virtual void DidSelectSuggestion(int identifier) OVERRIDE; | 107 virtual void DidSelectSuggestion(int identifier) OVERRIDE; |
105 virtual void DidAcceptSuggestion(const string16& value, | 108 virtual void DidAcceptSuggestion(const string16& value, |
106 int identifier) OVERRIDE; | 109 int identifier) OVERRIDE; |
107 virtual void RemoveSuggestion(const string16& value, | 110 virtual void RemoveSuggestion(const string16& value, |
108 int identifier) OVERRIDE; | 111 int identifier) OVERRIDE; |
109 virtual void ClearPreviewedForm() OVERRIDE; | 112 virtual void ClearPreviewedForm() OVERRIDE; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 274 |
272 // A NotificationRegistrar for tracking the completion of sign-in. | 275 // A NotificationRegistrar for tracking the completion of sign-in. |
273 content::NotificationRegistrar registrar_; | 276 content::NotificationRegistrar registrar_; |
274 | 277 |
275 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 278 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
276 }; | 279 }; |
277 | 280 |
278 } // namespace autofill | 281 } // namespace autofill |
279 | 282 |
280 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 283 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |