diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-26 05:43:02 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-26 05:43:02 +0000 |
commit | bf1cfd9ac86dcfa25731db6cb1a502bd91d2bfae (patch) | |
tree | cf636b9c3a46f3d9a4b349bf34574d60c18d05bd /cc/input | |
parent | 5ddc86faaa5e866f87c16e9178eb8d8b9834c2ee (diff) | |
download | chromium_src-bf1cfd9ac86dcfa25731db6cb1a502bd91d2bfae.zip chromium_src-bf1cfd9ac86dcfa25731db6cb1a502bd91d2bfae.tar.gz chromium_src-bf1cfd9ac86dcfa25731db6cb1a502bd91d2bfae.tar.bz2 |
Trigger overlay scrollbar animation when the pointer is nearby.
When the mouse cursor is near a scrollbar, trigger the scrollbar animation
so it's easier to find and grab the thinning scrollbars.
BUG=274010
Review URL: https://codereview.chromium.org/23983035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/input')
-rw-r--r-- | cc/input/input_handler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h index db26561..26fc480 100644 --- a/cc/input/input_handler.h +++ b/cc/input/input_handler.h @@ -96,6 +96,8 @@ class CC_EXPORT InputHandler { virtual void NotifyCurrentFlingVelocity(gfx::Vector2dF velocity) = 0; + virtual void MouseMoveAt(gfx::Point mouse_position) = 0; + // Stop scrolling the selected layer. Should only be called if ScrollBegin() // returned ScrollStarted. virtual void ScrollEnd() = 0; |