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

Unified Diff: content/renderer/input/main_thread_event_queue.h

Issue 2450833003: Separate rAF aligned Touch and Mouse Input settings (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
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 e5e5fc5016f43156654418a9a7710f0529de6c02..abee01ed8dc3038013d07fee7092e00f3ca978c6 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -142,6 +142,9 @@ class CONTENT_EXPORT MainThreadEventQueue
const ui::LatencyInfo& latency,
InputEventDispatchType original_dispatch_type);
+ bool RafAlignedInputDisabled();
Charlie Reis 2016/10/25 16:58:46 nit: IsRafAlignedInputDisabled?
dtapuska 2016/10/26 02:34:52 Done.
+ bool IsContinuousEvent(const std::unique_ptr<EventWithDispatchType>& event);
+
friend class MainThreadEventQueueTest;
int routing_id_;
MainThreadEventQueueClient* client_;
@@ -149,7 +152,8 @@ class CONTENT_EXPORT MainThreadEventQueue
bool is_flinging_;
bool last_touch_start_forced_nonblocking_due_to_fling_;
bool enable_fling_passive_listener_flag_;
- bool handle_raf_aligned_input_;
+ bool handle_raf_aligned_touch_input_;
+ bool handle_raf_aligned_mouse_input_;
// Contains data to be shared between main thread and compositor thread.
struct SharedState {

Powered by Google App Engine
This is Rietveld 408576698