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

Unified Diff: content/shell/browser/shell_login_dialog.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
« no previous file with comments | « content/browser/web_contents/navigation_entry_impl.cc ('k') | printing/backend/print_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_login_dialog.cc
diff --git a/content/shell/browser/shell_login_dialog.cc b/content/shell/browser/shell_login_dialog.cc
index f1639e9155316247fd0ce8921ce48587da213fb4..607fd66ac5aa4a519835f72e5208890e37eceb5c 100644
--- a/content/shell/browser/shell_login_dialog.cc
+++ b/content/shell/browser/shell_login_dialog.cc
@@ -11,7 +11,7 @@
#include "content/public/browser/resource_dispatcher_host.h"
#include "net/base/auth.h"
#include "net/url_request/url_request.h"
-#include "ui/base/text/text_elider.h"
+#include "ui/gfx/text_elider.h"
namespace content {
@@ -74,7 +74,7 @@ void ShellLoginDialog::PrepDialog(const string16& host,
// The realm is controlled by the remote server, so there is no reason to
// believe it is of a reasonable length.
string16 elided_realm;
- ui::ElideString(realm, 120, &elided_realm);
+ gfx::ElideString(realm, 120, &elided_realm);
string16 explanation =
ASCIIToUTF16("The server ") + host +
« no previous file with comments | « content/browser/web_contents/navigation_entry_impl.cc ('k') | printing/backend/print_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698