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 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ 7 8 namespace autofill { 9 10 class AutofillManagerTestDelegate { 11 public: 12 virtual ~AutofillManagerTestDelegate() {} 13 14 // Called when a form is previewed with Autofill suggestions. 15 virtual void DidPreviewFormData() = 0; 16 17 // Called when a form is filled with Autofill suggestions. 18 virtual void DidFillFormData() = 0; 19 20 // Called when a popup with Autofill suggestions is shown. 21 virtual void DidShowSuggestions() = 0; 22 }; 23 24 } // namespace autofill 25 26 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_TEST_DELEGATE_H_ 27