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

Unified Diff: ui/events/keycodes/platform_key_map_win.h

Issue 2630213003: Return AltGraph for right-Alt keydown/keyup, under layouts which use AltGraph. (Closed)
Patch Set: Add comment Created 3 years, 11 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 | ui/events/keycodes/platform_key_map_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/platform_key_map_win.h
diff --git a/ui/events/keycodes/platform_key_map_win.h b/ui/events/keycodes/platform_key_map_win.h
index 541ab3343f99b93ce89f20a8bae68819d196e163..143152995754b40e0e2187414566c4c29ac9a86f 100644
--- a/ui/events/keycodes/platform_key_map_win.h
+++ b/ui/events/keycodes/platform_key_map_win.h
@@ -44,6 +44,9 @@ class EVENTS_EXPORT PlatformKeyMap {
HKL keyboard_layout_ = 0;
+ // True if |keyboard_layout_| makes use of the AltGraph modifier.
+ bool has_alt_graph_ = false;
+
typedef std::pair<int /*KeyboardCode*/, int /*EventFlags*/>
KeyboardCodeEventFlagsPair;
typedef std::unordered_map<KeyboardCodeEventFlagsPair,
« no previous file with comments | « no previous file | ui/events/keycodes/platform_key_map_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698