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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_cell.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
Index: chrome/browser/ui/cocoa/download/download_item_cell.mm
===================================================================
--- chrome/browser/ui/cocoa/download/download_item_cell.mm (revision 71854)
+++ chrome/browser/ui/cocoa/download/download_item_cell.mm (working copy)
@@ -5,7 +5,6 @@
#import "chrome/browser/ui/cocoa/download/download_item_cell.h"
#include "app/l10n_util.h"
-#include "app/text_elider.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/download/download_item.h"
#include "chrome/browser/download/download_item_model.h"
@@ -19,6 +18,7 @@
#include "grit/theme_resources.h"
#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h"
#import "third_party/GTM/AppKit/GTMNSColor+Luminance.h"
+#include "ui/base/text/text_elider.h"
namespace {
@@ -398,7 +398,7 @@
[font pointSize]);
return base::SysUTF16ToNSString(
- ElideFilename(downloadPath_, font_chr, availableWidth));
+ ui::ElideFilename(downloadPath_, font_chr, availableWidth));
}
- (NSString*)elideStatus:(int)availableWidth {
@@ -406,7 +406,7 @@
gfx::Font font_chr(base::SysNSStringToUTF16([font fontName]),
[font pointSize]);
- return base::SysUTF16ToNSString(ElideText(
+ return base::SysUTF16ToNSString(ui::ElideText(
base::SysNSStringToUTF16([self secondaryTitle]),
font_chr,
availableWidth,

Powered by Google App Engine
This is Rietveld 408576698