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

Unified Diff: content/browser/web_contents/navigation_entry_impl.cc

Issue 23731010: Move text_elider to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update3 Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/navigation_entry_impl.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index 0a8664493d0dd9edfea5c3a4d223ed8cc9ebc3e0..10d50ca0df2a540705212e9182e2231daf4bb00d 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -10,7 +10,7 @@
#include "content/public/common/content_constants.h"
#include "content/public/common/url_constants.h"
#include "net/base/net_util.h"
-#include "ui/base/text/text_elider.h"
+#include "ui/gfx/text_elider.h"
// Use this to get a new unique ID for a NavigationEntry during construction.
// The returned ID is guaranteed to be nonzero (which is the "no ID" indicator).
@@ -191,7 +191,7 @@ const string16& NavigationEntryImpl::GetTitleForDisplay(
title = title.substr(slashpos + 1);
}
- ui::ElideString(title, kMaxTitleChars, &cached_display_title_);
+ gfx::ElideString(title, kMaxTitleChars, &cached_display_title_);
return cached_display_title_;
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/shell/browser/shell_login_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698