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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 2632263002: Address creis@'s suggestions for issue 2633723002. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698