summaryrefslogtreecommitdiffstats
path: root/chrome/browser/possible_url_model.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 18:27:06 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 18:27:06 +0000
commit9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634 (patch)
tree3b7332926a05a1c8382eb27422c385b56b29cb24 /chrome/browser/possible_url_model.cc
parenta12f7fbe12afffb4b1b31ec0d6b0988f1f9a6554 (diff)
downloadchromium_src-9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634.zip
chromium_src-9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634.tar.gz
chromium_src-9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634.tar.bz2
Move a bunch of random other files to src/ui/base
BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6257006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/possible_url_model.cc')
-rw-r--r--chrome/browser/possible_url_model.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/possible_url_model.cc b/chrome/browser/possible_url_model.cc
index e5af97e..068a793 100644
--- a/chrome/browser/possible_url_model.cc
+++ b/chrome/browser/possible_url_model.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/possible_url_model.h"
#include "app/resource_bundle.h"
-#include "app/text_elider.h"
#include "base/callback.h"
#include "base/i18n/rtl.h"
#include "base/string_util.h"
@@ -20,6 +19,7 @@
#include "grit/generated_resources.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/models/table_model_observer.h"
+#include "ui/base/text/text_elider.h"
using base::Time;
using base::TimeDelta;
@@ -43,7 +43,7 @@ struct PossibleURLModel::Result {
// fav_icon_map_ to lookup the favicon for the url, as well as the index
// into results_ when the favicon is received.
size_t index;
- gfx::SortedDisplayURL display_url;
+ ui::SortedDisplayURL display_url;
std::wstring title;
};
@@ -87,7 +87,7 @@ void PossibleURLModel::OnHistoryQueryComplete(HistoryService::Handle h,
results_[i].url = (*result)[i].url();
results_[i].index = i;
results_[i].display_url =
- gfx::SortedDisplayURL((*result)[i].url(), languages);
+ ui::SortedDisplayURL((*result)[i].url(), languages);
results_[i].title = UTF16ToWide((*result)[i].title());
}