| Index: content/renderer/input/render_widget_input_handler.cc
|
| diff --git a/content/renderer/input/render_widget_input_handler.cc b/content/renderer/input/render_widget_input_handler.cc
|
| index 4edd56ce57b4c0d6836e5845c9a2662a1983e6d4..bdbd301cb79cb1756c0df7376a679c9a1fce5119 100644
|
| --- a/content/renderer/input/render_widget_input_handler.cc
|
| +++ b/content/renderer/input/render_widget_input_handler.cc
|
| @@ -44,6 +44,7 @@ using blink::WebInputEventResult;
|
| using blink::WebKeyboardEvent;
|
| using blink::WebMouseEvent;
|
| using blink::WebMouseWheelEvent;
|
| +using blink::WebScrollBoundaryBehavior;
|
| using blink::WebTouchEvent;
|
| using blink::WebTouchPoint;
|
| using ui::DidOverscrollParams;
|
| @@ -369,7 +370,8 @@ void RenderWidgetInputHandler::DidOverscrollFromBlink(
|
| const WebFloatSize& overscrollDelta,
|
| const WebFloatSize& accumulatedOverscroll,
|
| const WebFloatPoint& position,
|
| - const WebFloatSize& velocity) {
|
| + const WebFloatSize& velocity,
|
| + const WebScrollBoundaryBehavior& behavior) {
|
| std::unique_ptr<DidOverscrollParams> params(new DidOverscrollParams());
|
| params->accumulated_overscroll = gfx::Vector2dF(
|
| accumulatedOverscroll.width, accumulatedOverscroll.height);
|
| @@ -378,6 +380,7 @@ void RenderWidgetInputHandler::DidOverscrollFromBlink(
|
| params->current_fling_velocity =
|
| gfx::Vector2dF(velocity.width, velocity.height);
|
| params->causal_event_viewport_point = gfx::PointF(position.x, position.y);
|
| + params->scroll_boundary_behavior = behavior;
|
|
|
| // If we're currently handling an event, stash the overscroll data such that
|
| // it can be bundled in the event ack.
|
|
|