Chromium Code Reviews| Index: Source/core/platform/graphics/RoundedRect.h |
| diff --git a/Source/core/platform/graphics/RoundedRect.h b/Source/core/platform/graphics/RoundedRect.h |
| index 8dde238afdee6dde41d96c5b9b5a4cb147a3f985..e0d2f6873772e97f9103bda0130f59168980ac79 100644 |
| --- a/Source/core/platform/graphics/RoundedRect.h |
| +++ b/Source/core/platform/graphics/RoundedRect.h |
| @@ -82,6 +82,9 @@ public: |
| bool isRounded() const { return !m_radii.isZero(); } |
| bool isEmpty() const { return m_rect.isEmpty(); } |
| + // Return a quickly computed rect enclosed by the rounded rect. |
| + IntRect enclosedRect() const; |
|
Julien - ping for review
2013/08/08 21:36:50
I really think we should specify what we return as
jbroman
2013/08/09 15:34:35
Changed to radiusCenterRect().
|
| + |
| void setRect(const IntRect& rect) { m_rect = rect; } |
| void setRadii(const Radii& radii) { m_radii = radii; } |