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

Unified Diff: ui/events/event_constants.h

Issue 394553002: Add EF_FINAL_MODIFIERS to suppress remapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: ui/events/event_constants.h
diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h
index 44bb5378ed424d2bbc4e4f9b3a92e952661dd702..5a429776c7a4a1bbdab50c9f7086e8bc0e424976 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -102,6 +102,9 @@ enum KeyEventFlags {
// (Linux X11 only)
EF_IS_REPEAT = 1 << 18,
EF_FUNCTION_KEY = 1 << 19, // Key originates from function key row
+ EF_FINAL_MODIFIERS = 1 << 20, // Do not rewrite the modifier flags;
+ // the event was created with the desired
+ // final values.
};
// Flags specific to mouse events

Powered by Google App Engine
This is Rietveld 408576698