Mac: Disable elastic overscroll when pages are not user scrollable
commit3a3650b341657090d19829ee2ac8d218b004c6a0
authorccameron <ccameron@chromium.org>
Fri, 20 Feb 2015 01:53:04 +0000 (19 17:53 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 01:53:37 +0000 (20 01:53 +0000)
treeac58eeed55258332eabc77c6793d814336195c0b
parent8476015c8a209afc3a75dcaf97e09f98d271d7cc
Mac: Disable elastic overscroll when pages are not user scrollable

This matches Safari behavior in that pages that have overflow:hidden
set on their body do not have the overscroll effect.

BUG=456546

Review URL: https://codereview.chromium.org/942623002

Cr-Commit-Position: refs/heads/master@{#317215}
cc/input/scroll_elasticity_helper.cc
cc/input/scroll_elasticity_helper.h
content/renderer/input/input_scroll_elasticity_controller.cc
content/renderer/input/input_scroll_elasticity_controller_unittest.cc