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

Unified Diff: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm

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: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
index 25b4c710a3f0493cf27635ab5d767a5f5761b643..1a2abc75afd7596e4332ce2b892d25fc369edf03 100644
--- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
@@ -7,7 +7,7 @@
#import "base/logging.h"
#include "base/strings/sys_string_conversions.h"
#import "chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h"
-#include "ui/base/text/text_elider.h"
+#include "ui/gfx/text_elider.h"
#include "ui/gfx/font.h"
namespace {
@@ -88,8 +88,8 @@ CGFloat EVBubbleDecoration::GetWidthForSpace(CGFloat width) {
// prefix and the trailing country code in place.
gfx::Font font(GetFont());
NSString* elided_label = base::SysUTF16ToNSString(
- ui::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left,
- ui::ELIDE_IN_MIDDLE));
+ gfx::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left,
+ gfx::ELIDE_IN_MIDDLE));
// Use the elided label.
SetLabel(elided_label);

Powered by Google App Engine
This is Rietveld 408576698