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

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: Restore guard on rewriting extended and function keys. 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
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter_unittest.cc ('k') | ui/events/x/events_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_constants.h
diff --git a/ui/events/event_constants.h b/ui/events/event_constants.h
index 44bb5378ed424d2bbc4e4f9b3a92e952661dd702..c3677ada7ada3b1294c8071dd94f1a93ebb4148d 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -102,6 +102,8 @@ enum KeyEventFlags {
// (Linux X11 only)
EF_IS_REPEAT = 1 << 18,
EF_FUNCTION_KEY = 1 << 19, // Key originates from function key row
+ EF_FINAL = 1 << 20, // Do not remap; the event was created with
+ // the desired final values.
};
// Flags specific to mouse events
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter_unittest.cc ('k') | ui/events/x/events_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698