Chromium Code Reviews| Index: Source/platform/scroll/ScrollAnimator.h |
| diff --git a/Source/platform/scroll/ScrollAnimator.h b/Source/platform/scroll/ScrollAnimator.h |
| index 484ca0f8c0180a4c2f0e56bd24e46c30f33c5eff..f6f9eaefcbec56c325d90e64d5d2a15f5d9e0ea0 100644 |
| --- a/Source/platform/scroll/ScrollAnimator.h |
| +++ b/Source/platform/scroll/ScrollAnimator.h |
| @@ -50,11 +50,12 @@ public: |
| virtual ~ScrollAnimator(); |
| - // Computes a scroll destination for the given parameters. Returns false if |
| - // already at the destination. Otherwise, starts scrolling towards the |
| - // destination and returns true. Scrolling may be immediate or animated. |
| - // The base class implementation always scrolls immediately, never animates. |
| - virtual ScrollResultOneDimensional scroll(ScrollbarOrientation, ScrollGranularity, float step, float delta); |
| + // Computes a scroll destination for the given parameters. The returned |
| + // ScrollResult will have didScroll set to false if already at the |
|
skobes
2015/06/02 19:03:16
ScrollResultOneDimensional
bokan
2015/06/02 21:06:25
Done.
|
| + // destination. Otherwise, starts scrolling towards the destination and |
| + // didScroll is true. Scrolling may be immediate or animated. The base |
| + // class implementation always scrolls immediately, never animates. |
| + virtual ScrollResultOneDimensional userScroll(ScrollbarOrientation, ScrollGranularity, float step, float delta); |
| virtual void scrollToOffsetWithoutAnimation(const FloatPoint&); |