Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index 71b1cd9c27ace30ac6e407754dcb914d9716dd90..21daecf973235757f1252ccbf21d88aca4756cf3 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -240,6 +240,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
int y() const { return bounds_.y(); } |
int width() const { return bounds_.width(); } |
int height() const { return bounds_.height(); } |
+ const gfx::Point& origin() const { return bounds_.origin(); } |
const gfx::Size& size() const { return bounds_.size(); } |
// Returns the bounds of the content area of the view, i.e. the rectangle |