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

Unified Diff: ui/ui.gyp

Issue 22835002: Supports gfx::FontList in gfx::Canvas and ui::ElideText family. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Introduces layout_text.h to provide GetStringWidth(). Created 7 years, 4 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: ui/ui.gyp
diff --git a/ui/ui.gyp b/ui/ui.gyp
index 2aa50d4d259fb6e69234600b1420bda47af1efef..629bba6f686f79037dd674843eadde04df975acf 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -419,12 +419,12 @@
'gfx/canvas.h',
'gfx/canvas_android.cc',
'gfx/canvas_mac.mm',
+ 'gfx/canvas_paint_gtk.cc',
'gfx/canvas_paint_gtk.h',
'gfx/canvas_paint_mac.h',
- 'gfx/canvas_paint_win.h',
- 'gfx/canvas_paint_gtk.cc',
'gfx/canvas_paint_mac.mm',
'gfx/canvas_paint_win.cc',
+ 'gfx/canvas_paint_win.h',
'gfx/canvas_skia.cc',
'gfx/canvas_skia_paint.h',
'gfx/codec/jpeg_codec.cc',
@@ -491,6 +491,10 @@
'gfx/insets_f.h',
'gfx/interpolated_transform.cc',
'gfx/interpolated_transform.h',
+ 'gfx/layout_text.h',
+ 'gfx/layout_text_android.cc',
+ 'gfx/layout_text_ios.mm',
+ 'gfx/layout_text_skia.cc',
'gfx/mac/scoped_ns_disable_screen_updates.h',
'gfx/matrix3_f.cc',
'gfx/matrix3_f.h',
@@ -906,6 +910,7 @@
}],
['OS=="android" or OS=="ios"', {
'sources!': [
+ 'gfx/layout_text_skia.cc',
'gfx/render_text.cc',
'gfx/render_text.h',
],

Powered by Google App Engine
This is Rietveld 408576698