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

Side by Side Diff: chrome/browser/autocomplete/history_url_provider.cc

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/autocomplete/history_url_provider.h" 5 #include "chrome/browser/autocomplete/history_url_provider.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/gfx/text_elider.h"
9 #include "base/basictypes.h" 10 #include "base/basictypes.h"
10 #include "base/histogram.h" 11 #include "base/histogram.h"
11 #include "base/message_loop.h" 12 #include "base/message_loop.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "chrome/browser/history/history.h" 14 #include "chrome/browser/history/history.h"
14 #include "chrome/browser/history/history_backend.h" 15 #include "chrome/browser/history/history_backend.h"
15 #include "chrome/browser/history/history_database.h" 16 #include "chrome/browser/history/history_database.h"
16 #include "chrome/browser/net/url_fixer_upper.h" 17 #include "chrome/browser/net/url_fixer_upper.h"
17 #include "chrome/browser/profile.h" 18 #include "chrome/browser/profile.h"
18 #include "chrome/common/gfx/text_elider.h"
19 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
20 #include "chrome/common/pref_service.h" 20 #include "chrome/common/pref_service.h"
21 #include "chrome/common/sqlite_utils.h" 21 #include "chrome/common/sqlite_utils.h"
22 #include "chrome/common/url_constants.h" 22 #include "chrome/common/url_constants.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "googleurl/src/url_parse.h" 24 #include "googleurl/src/url_parse.h"
25 #include "googleurl/src/url_util.h" 25 #include "googleurl/src/url_util.h"
26 #include "net/base/net_util.h" 26 #include "net/base/net_util.h"
27 27
28 using base::Time; 28 using base::Time;
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 history_match.input_location - offset, params->input.text().length(), 853 history_match.input_location - offset, params->input.text().length(),
854 match.contents.length(), ACMatchClassification::URL, 854 match.contents.length(), ACMatchClassification::URL,
855 &match.contents_class); 855 &match.contents_class);
856 match.description = info.title(); 856 match.description = info.title();
857 AutocompleteMatch::ClassifyMatchInString(params->input.text(), info.title(), 857 AutocompleteMatch::ClassifyMatchInString(params->input.text(), info.title(),
858 ACMatchClassification::NONE, 858 ACMatchClassification::NONE,
859 &match.description_class); 859 &match.description_class);
860 860
861 return match; 861 return match;
862 } 862 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view_win.cc ('k') | chrome/browser/browser.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698