| Index: chrome/views/view.cc
|
| ===================================================================
|
| --- chrome/views/view.cc (revision 6273)
|
| +++ chrome/views/view.cc (working copy)
|
| @@ -1333,6 +1333,14 @@
|
| }
|
| }
|
|
|
| +gfx::Rect View::BoundsInWidget() {
|
| + gfx::Rect bounds_in_widget = bounds_;
|
| + gfx::Point origin;
|
| + ConvertPointToWidget(this, &origin);
|
| + bounds_in_widget.set_origin(origin);
|
| + return bounds_in_widget;
|
| +}
|
| +
|
| /////////////////////////////////////////////////////////////////////////////
|
| //
|
| // View - event handlers
|
|
|