| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index 9f1ca8b509665fda2a4b73d00ff2ffc2fc247acb..feb433c0f62ee8dd992e21eed5c9d21958b036e7 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -378,6 +378,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // implementation.
|
| int GetMirroredXForRect(const gfx::Rect& rect) const;
|
|
|
| + // Given a rectangle specified in this View's coordinate system, the function
|
| + // computes the mirrored rectangle.
|
| + gfx::Rect GetMirroredRect(const gfx::Rect& rect) const;
|
| +
|
| // Given the X coordinate of a point inside the View, this function returns
|
| // the mirrored X coordinate of the point if the View's UI layout is
|
| // right-to-left. If the layout is left-to-right, the same X coordinate is
|
|
|