Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: content/renderer/input/input_handler_proxy_client.h

Issue 1415953004: Move content/renderer input handling for web input events to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/input/input_handler_proxy_client.h
diff --git a/content/renderer/input/input_handler_proxy_client.h b/content/renderer/input/input_handler_proxy_client.h
deleted file mode 100644
index 53b4bc94846de1a4c6097587e25105dffa9ab86d..0000000000000000000000000000000000000000
--- a/content/renderer/input/input_handler_proxy_client.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// 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_
-
-namespace blink {
-class WebGestureCurve;
-struct WebActiveWheelFlingParameters;
-struct WebFloatPoint;
-struct WebSize;
-}
-
-namespace content {
-
-struct DidOverscrollParams;
-
-// All callbacks invoked from the compositor thread.
-class InputHandlerProxyClient {
- public:
- // Called just before the InputHandlerProxy shuts down.
- virtual void WillShutdown() = 0;
-
- // Transfers an active wheel fling animation initiated by a previously
- // handled input event out to the client.
- virtual void TransferActiveWheelFlingAnimation(
- const blink::WebActiveWheelFlingParameters& params) = 0;
-
- // Creates a new fling animation curve instance for device |device_source|
- // with |velocity| and already scrolled |cumulative_scroll| pixels.
- virtual blink::WebGestureCurve* CreateFlingAnimationCurve(
- blink::WebGestureDevice device_source,
- const blink::WebFloatPoint& velocity,
- const blink::WebSize& cumulative_scroll) = 0;
-
- virtual void DidOverscroll(const DidOverscrollParams& params) = 0;
-
- virtual void DidStopFlinging() = 0;
-
- virtual void DidAnimateForInput() = 0;
-
- protected:
- virtual ~InputHandlerProxyClient() {}
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
« no previous file with comments | « content/renderer/input/input_handler_proxy.cc ('k') | content/renderer/input/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698