| Index: ui/gfx/transform.h
|
| diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h
|
| index cccbe722410bb8b5fd612e2c15bb2a9e9f09e6d6..6d1ce1e1ad54e1f0ba78dcc60288f98d390b4689 100644
|
| --- a/ui/gfx/transform.h
|
| +++ b/ui/gfx/transform.h
|
| @@ -73,6 +73,10 @@ class UI_EXPORT Transform {
|
| // Returns true if the matrix is either identity or pure translation.
|
| bool IsIdentityOrTranslation() const;
|
|
|
| + // Returns true if the matrix is either identity or pure, non-fractional
|
| + // translation.
|
| + bool IsIdentityOrIntegerTranslation() const;
|
| +
|
| // Returns true if the matrix is has only scaling and translation components.
|
| bool IsScaleOrTranslation() const;
|
|
|
|
|