mac: Pass rubber-banding information to Blink.
commitea0fa0ac4186827e4f9916045b7f733e338cbb27
authorerikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 15:57:45 +0000 (1 15:57 +0000)
committererikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Apr 2014 15:57:45 +0000 (1 15:57 +0000)
treec487bce2aa60da8221f1a952b1c94990179a0bfa
parent1ea7f9d99de39a26dfe5419e034b2bf5a2a60928
mac: Pass rubber-banding information to Blink.

Wheel-events should include information about whether they are allowed to
rubberband left or right. Previously, Blink inferred this information from
whether there was navigation history backwards or forwards. However, that is
insufficient, as a user can cancel a history-swipe, in which case rubberbanding
should be allowed in the given direction, even though history navigation is
possible.

This CL passes the information to Blink, which does not yet use it. No intended
functional change!

BUG=321437
TBR=joi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260879 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.h
chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm
content/browser/renderer_host/render_widget_host_view_mac.mm
content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
content/public/browser/render_widget_host_view_mac_delegate.h