Chromium Code Reviews| Index: ui/gfx/transform.h |
| diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h |
| index 68a734e624054810deea74265d8b46a2d493dc4e..7f2c5991d8d19b9b8479922347279316b357811c 100644 |
| --- a/ui/gfx/transform.h |
| +++ b/ui/gfx/transform.h |
| @@ -188,6 +188,9 @@ class GFX_EXPORT Transform { |
| // |
| void FlattenTo2d(); |
| + // Returns true if the 3rd row and 3rd column are both (0, 0, 1, 0). |
| + bool IsFlat() const; |
| + |
| // Returns the x and y translation components of the matrix. |
| Vector2dF To2dTranslation() const; |