| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ | 5 #ifndef COMPONENTS_OMNIBOX_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ | 6 #define COMPONENTS_OMNIBOX_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ |
| 7 | 7 |
| 8 class AutocompleteControllerDelegate { | 8 class AutocompleteControllerDelegate { |
| 9 public: | 9 public: |
| 10 // Invoked when the result set of the AutocompleteController changes. If | 10 // Invoked when the result set of the AutocompleteController changes. If |
| 11 // |default_match_changed| is true, the default match of the result set has | 11 // |default_match_changed| is true, the default match of the result set has |
| 12 // changed. | 12 // changed. |
| 13 virtual void OnResultChanged(bool default_match_changed) = 0; | 13 virtual void OnResultChanged(bool default_match_changed) = 0; |
| 14 | 14 |
| 15 protected: | 15 protected: |
| 16 virtual ~AutocompleteControllerDelegate() {} | 16 virtual ~AutocompleteControllerDelegate() {} |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ | 19 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ |
| OLD | NEW |