diff options
Diffstat (limited to 'chromium/cc/input/scroll_elasticity_helper.h')
-rw-r--r-- | chromium/cc/input/scroll_elasticity_helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/cc/input/scroll_elasticity_helper.h b/chromium/cc/input/scroll_elasticity_helper.h index 81281310ecb..4ae282fe51b 100644 --- a/chromium/cc/input/scroll_elasticity_helper.h +++ b/chromium/cc/input/scroll_elasticity_helper.h @@ -8,6 +8,7 @@ #include "base/time/time.h" #include "cc/cc_export.h" #include "ui/gfx/geometry/scroll_offset.h" +#include "ui/gfx/geometry/size.h" #include "ui/gfx/geometry/vector2d_f.h" namespace cc { @@ -54,6 +55,9 @@ class CC_EXPORT ScrollElasticityHelper { virtual bool IsUserScrollable() const = 0; + // The bounds of the root scroller. + virtual gfx::Size ScrollBounds() const = 0; + // The amount that the view is stretched past the normal allowable bounds. virtual gfx::Vector2dF StretchAmount() const = 0; virtual void SetStretchAmount(const gfx::Vector2dF& stretch_amount) = 0; |