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

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

Issue 1003023002: Signal input flush when all flings have terminated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test compile Created 5 years, 9 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_impl.h
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h
index ab5058329547e51cd7a443674d937d5109671aee..1abe33b6ad728fda3601ee28722f87e1874aa247 100644
--- a/content/browser/renderer_host/input/input_router_impl.h
+++ b/content/browser/renderer_host/input/input_router_impl.h
@@ -56,7 +56,6 @@ class CONTENT_EXPORT InputRouterImpl
~InputRouterImpl() override;
// InputRouter
- void Flush() override;
bool SendInput(scoped_ptr<IPC::Message> message) override;
void SendMouseEvent(const MouseEventWithLatencyInfo& mouse_event) override;
void SendWheelEvent(
@@ -69,6 +68,7 @@ class CONTENT_EXPORT InputRouterImpl
void SendTouchEvent(const TouchEventWithLatencyInfo& touch_event) override;
const NativeWebKeyboardEvent* GetLastKeyboardEvent() const override;
void OnViewUpdated(int view_flags) override;
+ void RequestNotificationWhenFlushed() override;
bool HasPendingEvents() const override;
// IPC::Listener
@@ -130,6 +130,7 @@ private:
void OnSelectMessageAck();
void OnHasTouchEventHandlers(bool has_handlers);
void OnSetTouchAction(TouchAction touch_action);
+ void OnDidStopFlinging();
// Indicates the source of an ack provided to |ProcessInputEventAck()|.
// The source is tracked by |current_ack_source_|, which aids in ack routing.
@@ -181,8 +182,6 @@ private:
// all events have been dispatched (i.e., |HasPendingEvents()| is false).
void SignalFlushedIfNecessary();
- bool IsInOverscrollGesture() const;
-
int routing_id() const { return routing_id_; }
« no previous file with comments | « content/browser/renderer_host/input/input_router_client.h ('k') | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698