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

Unified Diff: chrome/browser/ui/gtk/status_bubble_gtk.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/gtk_util.cc ('k') | chrome/browser/ui/login/login_prompt.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/status_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/status_bubble_gtk.cc b/chrome/browser/ui/gtk/status_bubble_gtk.cc
index 3d4fc79380276e2ca4cf8b57505d63ea52d365d7..ad7f7f7550e0087b17e55ca94175835b7885bfad 100644
--- a/chrome/browser/ui/gtk/status_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/status_bubble_gtk.cc
@@ -20,8 +20,8 @@
#include "ui/base/animation/slide_animation.h"
#include "ui/base/gtk/gtk_compat.h"
#include "ui/base/gtk/gtk_hig_constants.h"
-#include "ui/base/text/text_elider.h"
#include "ui/gfx/font.h"
+#include "ui/gfx/text_elider.h"
namespace {
@@ -113,9 +113,9 @@ void StatusBubbleGtk::SetStatusTextToURL() {
}
// TODO(tc): We don't actually use gfx::Font as the font in the status
- // bubble. We should extend ui::ElideUrl to take some sort of pango font.
+ // bubble. We should extend gfx::ElideUrl to take some sort of pango font.
url_text_ = UTF16ToUTF8(
- ui::ElideUrl(url_, gfx::Font(), desired_width, languages_));
+ gfx::ElideUrl(url_, gfx::Font(), desired_width, languages_));
SetStatusTextTo(url_text_);
}
« no previous file with comments | « chrome/browser/ui/gtk/gtk_util.cc ('k') | chrome/browser/ui/login/login_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698