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

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

Issue 2265393002: Refactor compositor event handling path to be callback-based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: creis's review, rebase Created 4 years, 3 months 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
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/input/input_handler_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_handler_manager_client.h
diff --git a/content/renderer/input/input_handler_manager_client.h b/content/renderer/input/input_handler_manager_client.h
index cdc38633eaeabe73c6c05d9519166f8e3db80dc3..4f54a4258d621d85d6535488a0b6854370d5fa2c 100644
--- a/content/renderer/input/input_handler_manager_client.h
+++ b/content/renderer/input/input_handler_manager_client.h
@@ -13,17 +13,13 @@
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "ui/gfx/geometry/vector2d_f.h"
-namespace ui {
-class LatencyInfo;
-struct DidOverscrollParams;
-}
-
namespace cc {
class InputHandler;
}
namespace ui {
class SynchronousInputHandlerProxy;
+struct DidOverscrollParams;
}
namespace content {
@@ -43,6 +39,10 @@ class CONTENT_EXPORT InputHandlerManagerClient {
// Called from the compositor thread.
virtual void RegisterRoutingID(int routing_id) = 0;
virtual void UnregisterRoutingID(int routing_id) = 0;
+
+ // |HandleInputEvent| will respond to overscroll by calling the passed in
+ // callback.
+ // Otherwise |DidOverscroll| will be fired.
virtual void DidOverscroll(int routing_id,
const ui::DidOverscrollParams& params) = 0;
virtual void DidStartFlinging(int routing_id) = 0;
« no previous file with comments | « content/renderer/input/input_handler_manager.cc ('k') | content/renderer/input/input_handler_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698