OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ |
7 | 7 |
8 namespace autofill { | 8 namespace autofill { |
9 | 9 |
10 class AutofillManagerTestDelegate { | 10 class AutofillManagerTestDelegate { |
11 public: | 11 public: |
12 virtual ~AutofillManagerTestDelegate() {} | 12 virtual ~AutofillManagerTestDelegate() {} |
13 | 13 |
14 // Called when a form is previewed with Autofill suggestions. | 14 // Called when a form is previewed with Autofill suggestions. |
15 virtual void DidPreviewFormData() = 0; | 15 virtual void DidPreviewFormData() = 0; |
16 | 16 |
17 // Called when a form is filled with Autofill suggestions. | 17 // Called when a form is filled with Autofill suggestions. |
18 virtual void DidFillFormData() = 0; | 18 virtual void DidFillFormData() = 0; |
19 | 19 |
20 // Called when a popup with Autofill suggestions is shown. | 20 // Called when a popup with Autofill suggestions is shown. |
21 virtual void DidShowSuggestions() = 0; | 21 virtual void DidShowSuggestions() = 0; |
22 }; | 22 }; |
23 | 23 |
24 } // namespace autofill | 24 } // namespace autofill |
25 | 25 |
26 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ | 26 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ |
OLD | NEW |