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

Unified Diff: chrome/browser/ui/login/login_prompt.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 | « chrome/browser/ui/gtk/status_bubble_gtk.cc ('k') | chrome/browser/ui/omnibox/location_bar_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/login/login_prompt.cc
diff --git a/chrome/browser/ui/login/login_prompt.cc b/chrome/browser/ui/login/login_prompt.cc
index a59072029596ef9e1a6f3752765365fdac34c050..5c08f33830b8fa332b22b4b80946c8a5dbfda176 100644
--- a/chrome/browser/ui/login/login_prompt.cc
+++ b/chrome/browser/ui/login/login_prompt.cc
@@ -27,7 +27,7 @@
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/base/text/text_elider.h"
+#include "ui/gfx/text_elider.h"
using autofill::PasswordForm;
using content::BrowserThread;
@@ -441,7 +441,7 @@ void LoginDialogCallback(const GURL& request_url,
// 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(UTF8ToUTF16(auth_info->realm), 120, &elided_realm);
+ gfx::ElideString(UTF8ToUTF16(auth_info->realm), 120, &elided_realm);
string16 host_and_port = ASCIIToUTF16(request_url.scheme() + "://" +
auth_info->challenger.ToString());
« no previous file with comments | « chrome/browser/ui/gtk/status_bubble_gtk.cc ('k') | chrome/browser/ui/omnibox/location_bar_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698