| Index: ui/gfx/geometry/rect.h
|
| diff --git a/ui/gfx/geometry/rect.h b/ui/gfx/geometry/rect.h
|
| index a01e719882df5c6e2d6a150cde7619052f0cfbc6..867096450d2168c7e66f05c75f5dd3820ff0fb75 100644
|
| --- a/ui/gfx/geometry/rect.h
|
| +++ b/ui/gfx/geometry/rect.h
|
| @@ -178,6 +178,9 @@ class GFX_EXPORT Rect {
|
| // returns the smallest non-zero value appropriate for int.
|
| int ManhattanInternalDistance(const Rect& rect) const;
|
|
|
| + // Returns the largest distance from |point| to the corners of |this|.
|
| + float MaxDistanceToCorners(const gfx::Point& point) const;
|
| +
|
| std::string ToString() const;
|
|
|
| bool ApproximatelyEqual(const Rect& rect, int tolerance) const;
|
|
|