| Index: components/web_input/input_handler_proxy_client.h
|
| diff --git a/content/renderer/input/input_handler_proxy_client.h b/components/web_input/input_handler_proxy_client.h
|
| similarity index 71%
|
| rename from content/renderer/input/input_handler_proxy_client.h
|
| rename to components/web_input/input_handler_proxy_client.h
|
| index 53b4bc94846de1a4c6097587e25105dffa9ab86d..b7106f698392cd566d2879cc7746d9cf0cb086a8 100644
|
| --- a/content/renderer/input/input_handler_proxy_client.h
|
| +++ b/components/web_input/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 COMPONENTS_WEB_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
| +#define COMPONENTS_WEB_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
|
|
| namespace blink {
|
| class WebGestureCurve;
|
| @@ -12,9 +12,7 @@ struct WebFloatPoint;
|
| struct WebSize;
|
| }
|
|
|
| -namespace content {
|
| -
|
| -struct DidOverscrollParams;
|
| +namespace web_input {
|
|
|
| // 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 web_input
|
|
|
| -#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
| +#endif // COMPONENTS_WEB_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
|
|
|