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

Unified Diff: printing/printed_document.cc

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 | « printing/page_overlays.cc ('k') | ui/base/gtk/event_synthesis_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document.cc
===================================================================
--- printing/printed_document.cc (revision 71854)
+++ printing/printed_document.cc (working copy)
@@ -9,7 +9,6 @@
#include <string>
#include <vector>
-#include "app/text_elider.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/i18n/file_util_icu.h"
@@ -25,6 +24,7 @@
#include "printing/printed_page.h"
#include "printing/units.h"
#include "skia/ext/platform_device.h"
+#include "ui/base/text/text_elider.h"
namespace {
@@ -225,10 +225,10 @@
if (string_size.width() > bounding.width()) {
if (line == PageOverlays::kUrl) {
- output = UTF16ToWideHack(gfx::ElideUrl(url(), font, bounding.width(),
- std::wstring()));
+ output = UTF16ToWideHack(ui::ElideUrl(url(), font, bounding.width(),
+ std::wstring()));
} else {
- output = UTF16ToWideHack(gfx::ElideText(WideToUTF16Hack(output),
+ output = UTF16ToWideHack(ui::ElideText(WideToUTF16Hack(output),
font, bounding.width(), false));
}
}
« no previous file with comments | « printing/page_overlays.cc ('k') | ui/base/gtk/event_synthesis_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698