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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_match.h

Issue 377153004: Componentize autocomplete_match_type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MATCH_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/common/autocomplete_match_type.h" 13 #include "components/autocomplete/autocomplete_match_type.h"
14 #include "components/search_engines/template_url.h" 14 #include "components/search_engines/template_url.h"
15 #include "content/public/common/page_transition_types.h" 15 #include "content/public/common/page_transition_types.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 class AutocompleteProvider; 18 class AutocompleteProvider;
19 class TemplateURL; 19 class TemplateURL;
20 class TemplateURLService; 20 class TemplateURLService;
21 21
22 namespace base { 22 namespace base {
23 class Time; 23 class Time;
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 const base::string16& text, 364 const base::string16& text,
365 const ACMatchClassifications& classifications) const; 365 const ACMatchClassifications& classifications) const;
366 #endif 366 #endif
367 }; 367 };
368 368
369 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification; 369 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification;
370 typedef std::vector<ACMatchClassification> ACMatchClassifications; 370 typedef std::vector<ACMatchClassification> ACMatchClassifications;
371 typedef std::vector<AutocompleteMatch> ACMatches; 371 typedef std::vector<AutocompleteMatch> ACMatches;
372 372
373 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_ 373 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_MATCH_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/omnibox/autocomplete_controller_android.cc ('k') | chrome/browser/autocomplete/autocomplete_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698