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

Unified Diff: ui/events/event_constants.h

Issue 286103004: Blocked volume up/down events that originated from remapped function keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated AllowsVolumeControl comment and ifdefed events_test_utils_x11.h include. Created 6 years, 7 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 5564312e2d124eb15d605c26374ced8ee3172a50..6558cef5509c6b2d83f91b2a6a330ff033f68c2e 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -99,6 +99,7 @@ enum KeyEventFlags {
EF_IME_FABRICATED_KEY = 1 << 17, // Key event fabricated by the underlying
// IME without a user action.
// (Linux X11 only)
+ EF_FUNCTION_KEY = 1 << 18, // Key originates from function key row
};
// Flags specific to mouse events

Powered by Google App Engine
This is Rietveld 408576698