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

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

Issue 2273703002: Force events to be non blocking if main thread is unresponsive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests, fix bugs. Created 4 years, 1 month 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 9852b3ddf9a8c1beeba9eb544bec5283b3c60a0c..32324ecedbbe3c1b49d780d952889335ce244da3 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -149,6 +149,7 @@ class CONTENT_EXPORT MainThreadEventQueue
std::unique_ptr<EventWithDispatchType> in_flight_event_;
bool last_touch_start_forced_nonblocking_due_to_fling_;
bool enable_fling_passive_listener_flag_;
+ bool enable_non_blocking_due_to_main_thread_responsiveness_flag_;
bool handle_raf_aligned_touch_input_;
bool handle_raf_aligned_mouse_input_;

Powered by Google App Engine
This is Rietveld 408576698