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

Unified Diff: ui/gfx/canvas.h

Issue 14322007: Add line height setting to views::Label & use it for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | ui/gfx/canvas.cc » ('j') | ui/gfx/canvas_mac.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index c7673bccd24ba8612ccbd17f76f3974d22d1bd89..031b99a02fac4b5dea16a7cd6ed1a54b218382c9 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -128,6 +128,7 @@ class UI_EXPORT Canvas {
static void SizeStringInt(const string16& text,
const gfx::Font& font,
int* width, int* height,
+ int line_height, // Only on SKIA and -1 = default.
int flags);
// Returns the number of horizontal pixels needed to display the specified
@@ -327,6 +328,7 @@ class UI_EXPORT Canvas {
const gfx::Font& font,
SkColor color,
const gfx::Rect& text_bounds,
+ int line_height, // Only on SKIA and -1 = default.
int flags,
const ShadowValues& shadows);
« no previous file with comments | « no previous file | ui/gfx/canvas.cc » ('j') | ui/gfx/canvas_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698