| Index: ui/events/blink/input_handler_proxy_client.h
|
| diff --git a/content/renderer/input/input_handler_proxy_client.h b/ui/events/blink/input_handler_proxy_client.h
|
| similarity index 72%
|
| rename from content/renderer/input/input_handler_proxy_client.h
|
| rename to ui/events/blink/input_handler_proxy_client.h
|
| index 53b4bc94846de1a4c6097587e25105dffa9ab86d..34ce9fe95a9b4a1a2b7ed2c9dfc13de13309e3af 100644
|
| --- a/content/renderer/input/input_handler_proxy_client.h
|
| +++ b/ui/events/blink/input_handler_proxy_client.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
| -#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
| +#ifndef UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
|
| +#define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
|
|
|
| namespace blink {
|
| class WebGestureCurve;
|
| @@ -12,9 +12,7 @@ struct WebFloatPoint;
|
| struct WebSize;
|
| }
|
|
|
| -namespace content {
|
| -
|
| -struct DidOverscrollParams;
|
| +namespace ui {
|
|
|
| // All callbacks invoked from the compositor thread.
|
| class InputHandlerProxyClient {
|
| @@ -34,7 +32,11 @@ class InputHandlerProxyClient {
|
| const blink::WebFloatPoint& velocity,
|
| const blink::WebSize& cumulative_scroll) = 0;
|
|
|
| - virtual void DidOverscroll(const DidOverscrollParams& params) = 0;
|
| + virtual void DidOverscroll(
|
| + const gfx::Vector2dF& accumulated_overscroll,
|
| + const gfx::Vector2dF& latest_overscroll_delta,
|
| + const gfx::Vector2dF& current_fling_velocity,
|
| + const gfx::PointF& causal_event_viewport_point) = 0;
|
|
|
| virtual void DidStopFlinging() = 0;
|
|
|
| @@ -44,6 +46,6 @@ class InputHandlerProxyClient {
|
| virtual ~InputHandlerProxyClient() {}
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace ui
|
|
|
| -#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
| +#endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
|
|
|