| Index: ui/views/controls/scrollbar/scroll_bar.h
|
| diff --git a/ui/views/controls/scrollbar/scroll_bar.h b/ui/views/controls/scrollbar/scroll_bar.h
|
| index 25adc47ed09c4f103f08133fad66c43f10c0fa2d..d7c9f3a2072c3b5ad13bca696b05f228f96f2daa 100644
|
| --- a/ui/views/controls/scrollbar/scroll_bar.h
|
| +++ b/ui/views/controls/scrollbar/scroll_bar.h
|
| @@ -93,6 +93,11 @@ class VIEWS_EXPORT ScrollBar : public View {
|
| virtual void OnMouseEnteredScrollView(const ui::MouseEvent& event);
|
| virtual void OnMouseExitedScrollView(const ui::MouseEvent& event);
|
|
|
| + // Called when a ScrollEvent (in any, or no, direction) is seen by the parent
|
| + // ScrollView. E.g., this may reveal an overlay scrollbar to indicate
|
| + // possible scrolling directions to the user.
|
| + virtual void ObserveScrollEvent(const ui::ScrollEvent& event);
|
| +
|
| protected:
|
| // Create new scrollbar, either horizontal or vertical. These are protected
|
| // since you need to be creating either a NativeScrollBar or a
|
|
|