Index: ui/gfx/canvas.h |
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h |
index f3d9486f9a6224cbb804aa2288ef56cecdbd5f46..127ce2d88f56ff059ba979c9370345a4371bd3b7 100644 |
--- a/ui/gfx/canvas.h |
+++ b/ui/gfx/canvas.h |
@@ -260,6 +260,15 @@ class GFX_EXPORT Canvas { |
// given |paint| parameters. |
void DrawRoundRect(const Rect& rect, int radius, const SkPaint& paint); |
+ // Draws the given rectangle with rounded corners, where each radius can be |
+ // set separately, given |paint| parameters. |
+ void DrawRoundRect(const Rect& rect, |
+ int rad_top_left, |
+ int rad_top_right, |
+ int rad_bottom_left, |
+ int rad_bottom_right, |
+ const SkPaint& paint); |
+ |
// Draws the given path using the given |paint| parameters. |
void DrawPath(const SkPath& path, const SkPaint& paint); |