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

Unified Diff: components/mus/public/interfaces/input_event_constants.mojom

Issue 1759273002: Add AcceleratorType to EventMatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | components/mus/public/interfaces/input_event_matcher.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/input_event_constants.mojom
diff --git a/components/mus/public/interfaces/input_event_constants.mojom b/components/mus/public/interfaces/input_event_constants.mojom
index 03bd80bd342d8ba2d7ae5b57c426cd705ed5cacc..3c2d6d61ab85facc49058e1cc1430883e431752e 100644
--- a/components/mus/public/interfaces/input_event_constants.mojom
+++ b/components/mus/public/interfaces/input_event_constants.mojom
@@ -4,6 +4,15 @@
module mus.mojom;
+// Denotes during which phase of event targeting that an accelerator will be
+// notified of an event. PRE_TARGET will be notified instead of the target
+// window. POST_TARGET will be notified after the target window, and only if the
+// event was not consumed by the target.
+enum AcceleratorPhase {
+ PRE_TARGET,
+ POST_TARGET,
+};
+
enum EventType {
UNKNOWN,
KEY_PRESSED,
« no previous file with comments | « no previous file | components/mus/public/interfaces/input_event_matcher.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698