| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index 6b45c6313baf3bee9f08047d3891e28b35de22d1..b1764ce58c85cae9d9d8e0ea7bf3011f14503d0f 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -970,6 +970,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // the child view, such as Viewport, to override appropriately.
|
| virtual void ScrollRectToVisible(const gfx::Rect& rect);
|
|
|
| + // The closest parent() ScrollView in the hierarchy enclosing this View. Null
|
| + // if there is none.
|
| + virtual ScrollView* EnclosingScrollView();
|
| +
|
| // The following methods are used by ScrollView to determine the amount
|
| // to scroll relative to the visible bounds of the view. For example, a
|
| // return value of 10 indicates the scrollview should scroll 10 pixels in
|
|
|