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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/cocoa/js_modal_dialog_cocoa.mm ('k') | chrome/browser/ui/cocoa/status_bubble_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
===================================================================
--- chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm (revision 71854)
+++ chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm (working copy)
@@ -4,12 +4,12 @@
#import "chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h"
-#include "app/text_elider.h"
#import "base/logging.h"
#include "base/sys_string_conversions.h"
#import "chrome/browser/ui/cocoa/image_utils.h"
#import "chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h"
#include "gfx/font.h"
+#include "ui/base/text/text_elider.h"
namespace {
@@ -92,7 +92,8 @@
gfx::Font font(base::SysNSStringToUTF16([font_ fontName]),
[font_ pointSize]);
NSString* elided_label = base::SysUTF16ToNSString(
- ElideText(base::SysNSStringToUTF16(full_label_), font, width_left, true));
+ ui::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left,
+ true));
// Use the elided label.
SetLabel(elided_label);
« no previous file with comments | « chrome/browser/ui/cocoa/js_modal_dialog_cocoa.mm ('k') | chrome/browser/ui/cocoa/status_bubble_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698