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

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

Issue 258503003: Remove smiluate-touch-screen-with-mouse content flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/input/input_router_impl.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 <queue> 8 #include <queue>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // Forwards the event ack to |touch_event_queue_|, potentially triggering 165 // Forwards the event ack to |touch_event_queue_|, potentially triggering
166 // dispatch of queued touch events, or the creation of gesture events. 166 // dispatch of queued touch events, or the creation of gesture events.
167 void ProcessTouchAck(InputEventAckState ack_result, 167 void ProcessTouchAck(InputEventAckState ack_result,
168 const ui::LatencyInfo& latency); 168 const ui::LatencyInfo& latency);
169 169
170 // Forwards |ack_result| to the client's OverscrollController, if necessary. 170 // Forwards |ack_result| to the client's OverscrollController, if necessary.
171 void ProcessAckForOverscroll(const blink::WebInputEvent& event, 171 void ProcessAckForOverscroll(const blink::WebInputEvent& event,
172 InputEventAckState ack_result); 172 InputEventAckState ack_result);
173 173
174 void SimulateTouchGestureWithMouse(
175 const MouseEventWithLatencyInfo& mouse_event);
176
177 // Called when a touch timeout-affecting bit has changed, in turn toggling the 174 // Called when a touch timeout-affecting bit has changed, in turn toggling the
178 // touch ack timeout feature of the |touch_event_queue_| as appropriate. Input 175 // touch ack timeout feature of the |touch_event_queue_| as appropriate. Input
179 // to that determination includes current view properties, the allowed touch 176 // to that determination includes current view properties, the allowed touch
180 // action and the command-line configured |touch_ack_timeout_supported_|. 177 // action and the command-line configured |touch_ack_timeout_supported_|.
181 void UpdateTouchAckTimeoutEnabled(); 178 void UpdateTouchAckTimeoutEnabled();
182 179
183 // If a flush has been requested, signals a completed flush to the client if 180 // If a flush has been requested, signals a completed flush to the client if
184 // all events have been dispatched (i.e., |HasPendingEvents()| is false). 181 // all events have been dispatched (i.e., |HasPendingEvents()| is false).
185 void SignalFlushedIfNecessary(); 182 void SignalFlushedIfNecessary();
186 183
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 GestureEventQueue gesture_event_queue_; 256 GestureEventQueue gesture_event_queue_;
260 TouchActionFilter touch_action_filter_; 257 TouchActionFilter touch_action_filter_;
261 InputEventStreamValidator event_stream_validator_; 258 InputEventStreamValidator event_stream_validator_;
262 259
263 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 260 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
264 }; 261 };
265 262
266 } // namespace content 263 } // namespace content
267 264
268 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 265 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698