summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_controller_delegate.h
blob: 744645622d321d658b414617a5668c3ec521fcf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_
#define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_
#pragma once

class AutocompleteControllerDelegate {
 public:
  // Invoked when the result set of the AutocompleteController changes. If
  // |default_match_changed| is true, the default match of the result set has
  // changed.
  virtual void OnResultChanged(bool default_match_changed) = 0;

 protected:
  virtual ~AutocompleteControllerDelegate() {}
};

#endif  // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_DELEGATE_H_