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

Unified Diff: content/browser/renderer_host/input/input_router_client.h

Issue 291003002: Move OverscrollController to RenderWidgetHostViewAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK_GE Created 6 years, 7 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
Index: content/browser/renderer_host/input/input_router_client.h
diff --git a/content/browser/renderer_host/input/input_router_client.h b/content/browser/renderer_host/input/input_router_client.h
index 89efb37915a76b5dcf29d322387a2ad085b366ee..3b0e6a9c3518f7d516651b8e6c0197f34a7de9d1 100644
--- a/content/browser/renderer_host/input/input_router_client.h
+++ b/content/browser/renderer_host/input/input_router_client.h
@@ -17,7 +17,6 @@ struct LatencyInfo;
namespace content {
-class OverscrollController;
struct DidOverscrollParams;
class CONTENT_EXPORT InputRouterClient {
@@ -43,11 +42,6 @@ class CONTENT_EXPORT InputRouterClient {
// Called when the renderer notifies that it has touch event handlers.
virtual void OnHasTouchEventHandlers(bool has_handlers) = 0;
- // Returns an optional OverscrollController. If non-NULL, the controller
- // will be fed events and event acks by the router, when appropriate.
- // TODO(jdduke): crbug.com/306133 - Move the controller to the router.
- virtual OverscrollController* GetOverscrollController() const = 0;
-
// Certain router implementations require periodic flushing of queued events.
// When this method is called, the client should ensure a timely call, either
// synchronous or asynchronous, of |Flush| on the InputRouter.
@@ -58,6 +52,8 @@ class CONTENT_EXPORT InputRouterClient {
// respect to the call to |Flush| on the InputRouter.
virtual void DidFlush() = 0;
+ // Called when the router has received an overscroll notification from the
+ // renderer.
virtual void DidOverscroll(const DidOverscrollParams& params) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698