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

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

Issue 48973005: Move TouchEvent timeout code to the TouchEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years 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 10d447381c6df68497312834b2597f87b4be4ebe..e12b7510ccf0118b1a27d1dc7070491a46b05ffb 100644
--- a/content/browser/renderer_host/input/input_router_impl.h
+++ b/content/browser/renderer_host/input/input_router_impl.h
@@ -62,6 +62,7 @@ class CONTENT_EXPORT InputRouterImpl
const TouchEventWithLatencyInfo& touch_event) OVERRIDE;
virtual const NativeWebKeyboardEvent* GetLastKeyboardEvent() const OVERRIDE;
virtual bool ShouldForwardTouchEvent() const OVERRIDE;
+ virtual void OnViewUpdated(int view_flags) OVERRIDE;
// IPC::Listener
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -169,8 +170,6 @@ private:
void ProcessAckForOverscroll(const blink::WebInputEvent& event,
InputEventAckState ack_result);
- void HandleGestureScroll(const GestureEventWithLatencyInfo& gesture_event);
-
void SimulateTouchGestureWithMouse(
const MouseEventWithLatencyInfo& mouse_event);
@@ -236,6 +235,10 @@ private:
// not sent to the renderer.
bool has_touch_handler_;
+ // Whether touch ack timeout handling has been enabled via the command line.
+ bool touch_ack_timeout_enabled_;
+ size_t touch_ack_timeout_delay_ms_;
+
// The source of the ack within the scope of |ProcessInputEventAck()|.
// Defaults to ACK_SOURCE_NONE.
AckSource current_ack_source_;
« no previous file with comments | « content/browser/renderer_host/input/input_router.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