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

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

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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
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_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // ++: a series of matches with relevance from n up to (n + max_matches). 141 // ++: a series of matches with relevance from n up to (n + max_matches).
142 // --: relevance score falls off over time (discounted 50 points @ 15 minutes, 142 // --: relevance score falls off over time (discounted 50 points @ 15 minutes,
143 // 450 points @ two weeks) 143 // 450 points @ two weeks)
144 144
145 class AutocompleteInput; 145 class AutocompleteInput;
146 struct AutocompleteMatch; 146 struct AutocompleteMatch;
147 class AutocompleteProvider; 147 class AutocompleteProvider;
148 class AutocompleteResult; 148 class AutocompleteResult;
149 class AutocompleteController; 149 class AutocompleteController;
150 class HistoryContentsProvider; 150 class HistoryContentsProvider;
151 class KeywordProvider;
152 class Profile; 151 class Profile;
153 class TemplateURL; 152 class TemplateURL;
154 153
155 typedef std::vector<AutocompleteMatch> ACMatches; 154 typedef std::vector<AutocompleteMatch> ACMatches;
156 typedef std::vector<AutocompleteProvider*> ACProviders; 155 typedef std::vector<AutocompleteProvider*> ACProviders;
157 156
158 // AutocompleteInput ---------------------------------------------------------- 157 // AutocompleteInput ----------------------------------------------------------
159 158
160 // The user input for an autocomplete query. Allows copying. 159 // The user input for an autocomplete query. Allows copying.
161 class AutocompleteInput { 160 class AutocompleteInput {
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 AutocompleteInput::Type input_type; 888 AutocompleteInput::Type input_type;
890 // Selected index (if selected) or -1 (AutocompletePopupModel::kNoMatch). 889 // Selected index (if selected) or -1 (AutocompletePopupModel::kNoMatch).
891 size_t selected_index; 890 size_t selected_index;
892 // Inline autocompleted length (if displayed). 891 // Inline autocompleted length (if displayed).
893 size_t inline_autocompleted_length; 892 size_t inline_autocompleted_length;
894 // Result set. 893 // Result set.
895 const AutocompleteResult& result; 894 const AutocompleteResult& result;
896 }; 895 };
897 896
898 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H_ 897 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698