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

Unified Diff: content/common/input/input_event_dispatch_type.h

Issue 1780953003: Change the non-blocking event queue to the main thread event queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_regression_5
Patch Set: Force ack in renderer to be solely based on the DispatchEventType Created 4 years, 9 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/common/input/input_event_dispatch_type.h
diff --git a/content/common/input/input_event_dispatch_type.h b/content/common/input/input_event_dispatch_type.h
index e4acb4c1cee93f8760d801ae2dc684fcf4b43a9d..ea802ff2c811e1ed32d55a8d32791035eec3b8b7 100644
--- a/content/common/input/input_event_dispatch_type.h
+++ b/content/common/input/input_event_dispatch_type.h
@@ -8,9 +8,17 @@
namespace content {
enum InputEventDispatchType {
- DISPATCH_TYPE_NORMAL, // Dispatch a normal event.
- DISPATCH_TYPE_NON_BLOCKING, // Dispatch a non-blocking event.
- DISPATCH_TYPE_MAX = DISPATCH_TYPE_NON_BLOCKING
+ // Dispatch a blocking event. Sender is waiting on an ACK.
+ DISPATCH_TYPE_BLOCKING,
+ // Dispatch a blocking event and notify main thread as well. This type
+ // should only be sent from the compositor to main thread.
+ DISPATCH_TYPE_BLOCKING_NOTIFY_MAIN,
+ // Dispatch a non-blocking event. Sender will not receive an ACK.
+ DISPATCH_TYPE_NON_BLOCKING,
+ // Dispatch a non-blocking event and notify main thread as well. This type
+ // should only be sent from the compositor to main thread.
+ DISPATCH_TYPE_NON_BLOCKING_NOTIFY_MAIN,
+ DISPATCH_TYPE_MAX = DISPATCH_TYPE_NON_BLOCKING_NOTIFY_MAIN
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698