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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ 7 #pragma once 8 9 class AutocompleteControllerDelegate { 10 public: 11 // Invoked when the result set of the AutocompleteController changes. If 12 // |default_match_changed| is true, the default match of the result set has 13 // changed. 14 virtual void OnResultChanged(bool default_match_changed) = 0; 15 16 protected: 17 virtual ~AutocompleteControllerDelegate() {} 18 }; 19 20 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ 21