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 8c512348a6bcf93988e02c4bf627d8055f9ce7fe..1fbf9d9c5016c49d0d59cb35c46f5395e1b8f990 100644 |
--- a/content/browser/renderer_host/input/input_router_impl.h |
+++ b/content/browser/renderer_host/input/input_router_impl.h |
@@ -40,10 +40,17 @@ class CONTENT_EXPORT InputRouterImpl |
public NON_EXPORTED_BASE(TouchEventQueueClient), |
public NON_EXPORTED_BASE(TouchpadTapSuppressionControllerClient) { |
public: |
+ struct CONTENT_EXPORT Config { |
+ Config(); |
+ GestureEventQueue::Config gesture_config; |
+ TouchEventQueue::Config touch_config; |
+ }; |
+ |
InputRouterImpl(IPC::Sender* sender, |
InputRouterClient* client, |
InputAckHandler* ack_handler, |
- int routing_id); |
+ int routing_id, |
+ const Config& config); |
virtual ~InputRouterImpl(); |
// InputRouter |
@@ -173,8 +180,9 @@ private: |
// Called when a touch timeout-affecting bit has changed, in turn toggling the |
// touch ack timeout feature of the |touch_event_queue_| as appropriate. Input |
- // to that determination includes current view properties, the allowed touch |
- // action and the command-line configured |touch_ack_timeout_supported_|. |
+ // to that determination includes current view properties and the allowed |
+ // touch action. Note that this will only affect platforms that have a |
+ // non-zero touch timeout configuration. |
void UpdateTouchAckTimeoutEnabled(); |
// If a flush has been requested, signals a completed flush to the client if |
@@ -237,10 +245,6 @@ private: |
// The time when an input event was sent to the client. |
base::TimeTicks input_event_start_time_; |
- // Whether touch ack timeout handling has been enabled via the command line. |
- bool touch_ack_timeout_supported_; |
- base::TimeDelta touch_ack_timeout_delay_; |
- |
// Cached flags from |OnViewUpdated()|, defaults to 0. |
int current_view_flags_; |