OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_INPUT_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_INPUT_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_INPUT_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_INPUT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
12 #include "components/metrics/proto/omnibox_event.pb.h" | 13 #include "components/metrics/proto/omnibox_event.pb.h" |
13 #include "components/metrics/proto/omnibox_input_type.pb.h" | 14 #include "components/metrics/proto/omnibox_input_type.pb.h" |
14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
15 #include "url/third_party/mozilla/url_parse.h" | 16 #include "url/third_party/mozilla/url_parse.h" |
16 | 17 |
17 class AutocompleteSchemeClassifier; | 18 class AutocompleteSchemeClassifier; |
18 | 19 |
19 // The user input for an autocomplete query. Allows copying. | 20 // The user input for an autocomplete query. Allows copying. |
20 class AutocompleteInput { | 21 class AutocompleteInput { |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 GURL canonicalized_url_; | 221 GURL canonicalized_url_; |
221 bool prevent_inline_autocomplete_; | 222 bool prevent_inline_autocomplete_; |
222 bool prefer_keyword_; | 223 bool prefer_keyword_; |
223 bool allow_exact_keyword_match_; | 224 bool allow_exact_keyword_match_; |
224 bool want_asynchronous_matches_; | 225 bool want_asynchronous_matches_; |
225 bool from_omnibox_focus_; | 226 bool from_omnibox_focus_; |
226 std::vector<base::string16> terms_prefixed_by_http_or_https_; | 227 std::vector<base::string16> terms_prefixed_by_http_or_https_; |
227 }; | 228 }; |
228 | 229 |
229 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_INPUT_H_ | 230 #endif // COMPONENTS_OMNIBOX_BROWSER_AUTOCOMPLETE_INPUT_H_ |
OLD | NEW |