| 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 COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_POPUP_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_POPUP_DELEGATE_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_POPUP_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_POPUP_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 class KeyboardListener; | 11 class KeyboardListener; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace autofill { | 14 namespace autofill { |
| 15 | 15 |
| 16 // An interface for interaction with AutofillPopupController. Will be notified | 16 // An interface for interaction with AutofillPopupController. Will be notified |
| 17 // of events by the controller. | 17 // of events by the controller. |
| 18 class AutofillPopupDelegate { | 18 class AutofillPopupDelegate { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 virtual void RemoveSuggestion(const base::string16& value, | 37 virtual void RemoveSuggestion(const base::string16& value, |
| 38 int identifier) = 0; | 38 int identifier) = 0; |
| 39 | 39 |
| 40 // Informs the delegate that the Autofill previewed form should be cleared. | 40 // Informs the delegate that the Autofill previewed form should be cleared. |
| 41 virtual void ClearPreviewedForm() = 0; | 41 virtual void ClearPreviewedForm() = 0; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace autofill | 44 } // namespace autofill |
| 45 | 45 |
| 46 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_POPUP_DELEGATE_H_ | 46 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_POPUP_DELEGATE_H_ |
| OLD | NEW |