| 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 cc6f9f3c7266273e9cde764e5ffcf30442404513..acda1430ff1bd832645f26461f409ed3833c9c9d 100644
|
| --- a/ui/views/controls/scrollbar/scroll_bar.h
|
| +++ b/ui/views/controls/scrollbar/scroll_bar.h
|
| @@ -90,6 +90,11 @@ class VIEWS_EXPORT ScrollBar : public View {
|
| // Default is 0.
|
| virtual int GetContentOverlapSize() const;
|
|
|
| + // 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
|
|
|