OLD | NEW |
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_INPUT_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
14 #include "googleurl/src/url_parse.h" | 13 #include "googleurl/src/url_parse.h" |
15 | 14 |
16 // The user input for an autocomplete query. Allows copying. | 15 // The user input for an autocomplete query. Allows copying. |
17 class AutocompleteInput { | 16 class AutocompleteInput { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 url_parse::Parsed parts_; | 151 url_parse::Parsed parts_; |
153 string16 scheme_; | 152 string16 scheme_; |
154 GURL canonicalized_url_; | 153 GURL canonicalized_url_; |
155 bool prevent_inline_autocomplete_; | 154 bool prevent_inline_autocomplete_; |
156 bool prefer_keyword_; | 155 bool prefer_keyword_; |
157 bool allow_exact_keyword_match_; | 156 bool allow_exact_keyword_match_; |
158 MatchesRequested matches_requested_; | 157 MatchesRequested matches_requested_; |
159 }; | 158 }; |
160 | 159 |
161 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_ | 160 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_ |
OLD | NEW |