| Index: ui/gfx/canvas.h
|
| diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
|
| index 0c409447a8ac7e43e58842178ba425e20a9d14bd..d42b0381039a4ea73ab53bacad449a171a6d5af1 100644
|
| --- a/ui/gfx/canvas.h
|
| +++ b/ui/gfx/canvas.h
|
| @@ -20,6 +20,7 @@
|
| namespace gfx {
|
|
|
| class Rect;
|
| +class RectF;
|
| class FontList;
|
| class Point;
|
| class Size;
|
| @@ -248,9 +249,14 @@ class GFX_EXPORT Canvas {
|
| const SkPaint& paint);
|
|
|
| // Draws the given rectangle with rounded corners of |radius| using the
|
| - // given |paint| parameters.
|
| + // given |paint| parameters. DEPRECATED in favor of the RectF version below.
|
| + // TODO(mgiuca): Remove this (http://crbug.com/553726).
|
| void DrawRoundRect(const Rect& rect, int radius, const SkPaint& paint);
|
|
|
| + // Draws the given rectangle with rounded corners of |radius| using the
|
| + // given |paint| parameters.
|
| + void DrawRoundRect(const RectF& rect, float radius, const SkPaint& paint);
|
| +
|
| // Draws the given path using the given |paint| parameters.
|
| void DrawPath(const SkPath& path, const SkPaint& paint);
|
|
|
|
|