Chromium Code Reviews| Index: ui/gfx/rect_f.h |
| diff --git a/ui/gfx/rect_f.h b/ui/gfx/rect_f.h |
| index b77a2ec9be6f7948438fc5dcc5c50f59d5a9e0ec..8408dad8f9cdfe5c3834aa4c7f26267d52949eca 100644 |
| --- a/ui/gfx/rect_f.h |
| +++ b/ui/gfx/rect_f.h |
| @@ -55,6 +55,9 @@ inline bool operator!=(const RectF& lhs, const RectF& rhs) { |
| return !(lhs == rhs); |
| } |
| +UI_EXPORT RectF operator+(const RectF& lhs, const Vector2dF& rhs); |
| +UI_EXPORT RectF operator-(const RectF& lhs, const Vector2dF& rhs); |
|
Peter Kasting
2012/11/09 22:02:36
Same comment
|
| + |
| UI_EXPORT RectF IntersectRects(const RectF& a, const RectF& b); |
| UI_EXPORT RectF UnionRects(const RectF& a, const RectF& b); |
| UI_EXPORT RectF SubtractRects(const RectF& a, const RectF& b); |