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 8class AutocompleteControllerDelegate { 9 public: 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 12 // changed. 13 virtual void OnResultChanged(bool default_match_changed) = 0; 14 15 protected: 16 virtual ~AutocompleteControllerDelegate() {} 17}; 18 19#endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_ 20