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

Unified Diff: ui/events/event_constants.h

Issue 308023002: Add EF_IS_REPEAT flag to KeyEvent to handle repeated accelerators correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use ui::EF_IS_REPEAT in test instead Created 6 years, 6 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 | « ui/events/event.cc ('k') | ui/events/event_unittest.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 b2d1ef749dc8da054624bddc40d1d6d0d825975c..9196d9f81766ea76c1b53aac2a99fe50ec824148 100644
--- a/ui/events/event_constants.h
+++ b/ui/events/event_constants.h
@@ -100,6 +100,7 @@ enum KeyEventFlags {
EF_IME_FABRICATED_KEY = 1 << 17, // Key event fabricated by the underlying
// IME without a user action.
// (Linux X11 only)
+ EF_IS_REPEAT = 1 << 18,
};
// Flags specific to mouse events
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698