| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // touch action. Note that this will only affect platforms that have a | 194 // touch action. Note that this will only affect platforms that have a |
| 195 // non-zero touch timeout configuration. | 195 // non-zero touch timeout configuration. |
| 196 void UpdateTouchAckTimeoutEnabled(); | 196 void UpdateTouchAckTimeoutEnabled(); |
| 197 | 197 |
| 198 // If a flush has been requested, signals a completed flush to the client if | 198 // If a flush has been requested, signals a completed flush to the client if |
| 199 // all events have been dispatched (i.e., |HasPendingEvents()| is false). | 199 // all events have been dispatched (i.e., |HasPendingEvents()| is false). |
| 200 void SignalFlushedIfNecessary(); | 200 void SignalFlushedIfNecessary(); |
| 201 | 201 |
| 202 int routing_id() const { return routing_id_; } | 202 int routing_id() const { return routing_id_; } |
| 203 | 203 |
| 204 TouchAction allowed_touch_action() { | |
| 205 return touch_action_filter_.allowed_touch_action(); | |
| 206 } | |
| 207 | |
| 208 IPC::Sender* sender_; | 204 IPC::Sender* sender_; |
| 209 InputRouterClient* client_; | 205 InputRouterClient* client_; |
| 210 InputAckHandler* ack_handler_; | 206 InputAckHandler* ack_handler_; |
| 211 int routing_id_; | 207 int routing_id_; |
| 212 int frame_tree_node_id_; | 208 int frame_tree_node_id_; |
| 213 | 209 |
| 214 // (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK | 210 // (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK |
| 215 // or MoveRangeSelectionExtent_ACK. | 211 // or MoveRangeSelectionExtent_ACK. |
| 216 bool select_message_pending_; | 212 bool select_message_pending_; |
| 217 | 213 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 InputEventStreamValidator output_stream_validator_; | 257 InputEventStreamValidator output_stream_validator_; |
| 262 | 258 |
| 263 float device_scale_factor_; | 259 float device_scale_factor_; |
| 264 | 260 |
| 265 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); | 261 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); |
| 266 }; | 262 }; |
| 267 | 263 |
| 268 } // namespace content | 264 } // namespace content |
| 269 | 265 |
| 270 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ | 266 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ |
| OLD | NEW |