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

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

Issue 16746002: Use a direct include of strings headers in chrome/auto*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/string16.h" 11 #include "base/strings/string16.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "googleurl/src/url_parse.h" 13 #include "googleurl/src/url_parse.h"
14 14
15 // The user input for an autocomplete query. Allows copying. 15 // The user input for an autocomplete query. Allows copying.
16 class AutocompleteInput { 16 class AutocompleteInput {
17 public: 17 public:
18 // Note that the type below may be misleading. For example, "http:/" alone 18 // Note that the type below may be misleading. For example, "http:/" alone
19 // cannot be opened as a URL, so it is marked as a QUERY; yet the user 19 // cannot be opened as a URL, so it is marked as a QUERY; yet the user
20 // probably intends to type more and have it eventually become a URL, so we 20 // probably intends to type more and have it eventually become a URL, so we
21 // need to make sure we still run it through inline autocomplete. 21 // need to make sure we still run it through inline autocomplete.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 url_parse::Parsed parts_; 188 url_parse::Parsed parts_;
189 string16 scheme_; 189 string16 scheme_;
190 GURL canonicalized_url_; 190 GURL canonicalized_url_;
191 bool prevent_inline_autocomplete_; 191 bool prevent_inline_autocomplete_;
192 bool prefer_keyword_; 192 bool prefer_keyword_;
193 bool allow_exact_keyword_match_; 193 bool allow_exact_keyword_match_;
194 MatchesRequested matches_requested_; 194 MatchesRequested matches_requested_;
195 }; 195 };
196 196
197 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_ 197 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_INPUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_controller.cc ('k') | chrome/browser/autocomplete/autocomplete_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698