Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1819)

Side by Side Diff: components/omnibox/autocomplete_controller_delegate.h

Issue 1191373002: Componentize AutocompleteController and its supporting cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prep_builtin_provider_for_c14n
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/omnibox/autocomplete_controller.cc ('k') | components/omnibox/builtin_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « components/omnibox/autocomplete_controller.cc ('k') | components/omnibox/builtin_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698