Chromium Code Reviews| 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..ef0f82e445688165f0323724e96c653d72d0c1d5 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 scroll bar to indicate |
|
spqchan
2016/11/14 23:27:58
"scroll bar" -> "scrollbar"
tapted
2016/11/15 12:22:23
Done.
|
| + // 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 |