Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index a6811afca8a5c084b0d81d5ab375e483cc46c006..3e3fb938cebbfa48363d2c5b84b21e864cae157b 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -237,6 +237,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 |