Index: content/renderer/input/main_thread_event_queue.h |
diff --git a/content/renderer/input/main_thread_event_queue.h b/content/renderer/input/main_thread_event_queue.h |
index 344677fa47caaf9211f8e2e39a5d6be1917f490c..991aa789d269b9989502ccdf191b5facd7d9bf9c 100644 |
--- a/content/renderer/input/main_thread_event_queue.h |
+++ b/content/renderer/input/main_thread_event_queue.h |
@@ -103,6 +103,7 @@ class CONTENT_EXPORT MainThreadEventQueue |
const ui::LatencyInfo& latency, |
InputEventDispatchType dispatch_type, |
InputEventAckState ack_result); |
+ void DispatchVSyncAlignedInput(); |
// Call once the main thread has handled an outstanding |type| event |
// in flight. |
@@ -114,6 +115,7 @@ class CONTENT_EXPORT MainThreadEventQueue |
private: |
friend class base::RefCountedThreadSafe<MainThreadEventQueue>; |
~MainThreadEventQueue(); |
+ void DispatchInFlightEvent(); |
void QueueEvent(std::unique_ptr<EventWithDispatchType>&& event); |
void SendEventNotificationToMainThread(); |
void PopEventOnMainThread(); |
@@ -127,6 +129,7 @@ class CONTENT_EXPORT MainThreadEventQueue |
WebInputEventQueue<EventWithDispatchType> events_; |
std::unique_ptr<EventWithDispatchType> in_flight_event_; |
bool is_flinging_; |
+ bool notification_sent_to_main_; |
base::Lock event_queue_mutex_; |
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |