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

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

Issue 1847823005: Fix Event Latency Info on generate gesture events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove debugging Created 4 years, 8 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
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 <queue> 10 #include <queue>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void OnTouchEventAck(const TouchEventWithLatencyInfo& event, 93 void OnTouchEventAck(const TouchEventWithLatencyInfo& event,
94 InputEventAckState ack_result) override; 94 InputEventAckState ack_result) override;
95 void OnFilteringTouchEvent( 95 void OnFilteringTouchEvent(
96 const blink::WebTouchEvent& touch_event) override; 96 const blink::WebTouchEvent& touch_event) override;
97 97
98 // GestureEventFilterClient 98 // GestureEventFilterClient
99 void SendGestureEventImmediately( 99 void SendGestureEventImmediately(
100 const GestureEventWithLatencyInfo& gesture_event) override; 100 const GestureEventWithLatencyInfo& gesture_event) override;
101 void OnGestureEventAck(const GestureEventWithLatencyInfo& event, 101 void OnGestureEventAck(const GestureEventWithLatencyInfo& event,
102 InputEventAckState ack_result) override; 102 InputEventAckState ack_result) override;
103 void ForwardGestureEvent(
104 const blink::WebGestureEvent& gesture_event) override;
103 105
104 // MouseWheelEventQueueClient 106 // MouseWheelEventQueueClient
105 void SendMouseWheelEventImmediately( 107 void SendMouseWheelEventImmediately(
106 const MouseWheelEventWithLatencyInfo& touch_event) override; 108 const MouseWheelEventWithLatencyInfo& touch_event) override;
107 void OnMouseWheelEventAck(const MouseWheelEventWithLatencyInfo& event, 109 void OnMouseWheelEventAck(const MouseWheelEventWithLatencyInfo& event,
108 InputEventAckState ack_result) override; 110 InputEventAckState ack_result) override;
109 111
110 bool SendMoveCaret(scoped_ptr<IPC::Message> message); 112 bool SendMoveCaret(scoped_ptr<IPC::Message> message);
111 bool SendSelectMessage(scoped_ptr<IPC::Message> message); 113 bool SendSelectMessage(scoped_ptr<IPC::Message> message);
112 bool Send(IPC::Message* message); 114 bool Send(IPC::Message* message);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 InputEventStreamValidator output_stream_validator_; 257 InputEventStreamValidator output_stream_validator_;
256 258
257 float device_scale_factor_; 259 float device_scale_factor_;
258 260
259 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 261 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
260 }; 262 };
261 263
262 } // namespace content 264 } // namespace content
263 265
264 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 266 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698