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 <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 virtual void LegalDocumentLinkClicked(const gfx::Range& range) OVERRIDE; | 158 virtual void LegalDocumentLinkClicked(const gfx::Range& range) OVERRIDE; |
159 virtual bool OnCancel() OVERRIDE; | 159 virtual bool OnCancel() OVERRIDE; |
160 virtual bool OnAccept() OVERRIDE; | 160 virtual bool OnAccept() OVERRIDE; |
161 virtual Profile* profile() OVERRIDE; | 161 virtual Profile* profile() OVERRIDE; |
162 virtual content::WebContents* GetWebContents() OVERRIDE; | 162 virtual content::WebContents* GetWebContents() OVERRIDE; |
163 | 163 |
164 // AutofillPopupDelegate implementation. | 164 // AutofillPopupDelegate implementation. |
165 virtual void OnPopupShown() OVERRIDE; | 165 virtual void OnPopupShown() OVERRIDE; |
166 virtual void OnPopupHidden() OVERRIDE; | 166 virtual void OnPopupHidden() OVERRIDE; |
167 virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; | 167 virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; |
168 virtual void DidSelectSuggestion(int identifier) OVERRIDE; | 168 virtual void DidSelectSuggestion(const base::string16& value, |
| 169 int identifier) OVERRIDE; |
169 virtual void DidAcceptSuggestion(const base::string16& value, | 170 virtual void DidAcceptSuggestion(const base::string16& value, |
170 int identifier) OVERRIDE; | 171 int identifier) OVERRIDE; |
171 virtual void RemoveSuggestion(const base::string16& value, | 172 virtual void RemoveSuggestion(const base::string16& value, |
172 int identifier) OVERRIDE; | 173 int identifier) OVERRIDE; |
173 virtual void ClearPreviewedForm() OVERRIDE; | 174 virtual void ClearPreviewedForm() OVERRIDE; |
174 | 175 |
175 // content::NotificationObserver implementation. | 176 // content::NotificationObserver implementation. |
176 virtual void Observe(int type, | 177 virtual void Observe(int type, |
177 const content::NotificationSource& source, | 178 const content::NotificationSource& source, |
178 const content::NotificationDetails& details) OVERRIDE; | 179 const content::NotificationDetails& details) OVERRIDE; |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 base::string16 submitted_cardholder_name_; | 816 base::string16 submitted_cardholder_name_; |
816 | 817 |
817 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; | 818 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; |
818 | 819 |
819 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 820 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
820 }; | 821 }; |
821 | 822 |
822 } // namespace autofill | 823 } // namespace autofill |
823 | 824 |
824 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 825 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |