| Index: cc/input_handler.h
|
| diff --git a/cc/input_handler.h b/cc/input_handler.h
|
| index 6898c1fb0625ade007185bb568ceeb346e777bce..fefa2ae2f8e142327482a9999e6e7162ba3a4116 100644
|
| --- a/cc/input_handler.h
|
| +++ b/cc/input_handler.h
|
| @@ -41,9 +41,11 @@ public:
|
| // should be in viewport (logical pixel) coordinates. Otherwise they are in
|
| // scrolling layer's (logical pixel) space. If there is no room to move the
|
| // layer in the requested direction, its first ancestor layer that can be
|
| - // scrolled will be moved instead. Should only be called if scrollBegin()
|
| - // returned ScrollStarted.
|
| - virtual void scrollBy(gfx::Point, gfx::Vector2d) = 0;
|
| + // scrolled will be moved instead. If there is no layer can be moved in the
|
| + // requested direction at all, then false is returned. If any layer is
|
| + // moved, then true is returned.
|
| + // Should only be called if scrollBegin() returned ScrollStarted.
|
| + virtual bool scrollBy(gfx::Point, gfx::Vector2d) = 0;
|
|
|
| // Stop scrolling the selected layer. Should only be called if scrollBegin()
|
| // returned ScrollStarted.
|
|
|