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