Index: ui/events/keycodes/keyboard_codes_win.h |
diff --git a/ui/events/keycodes/keyboard_codes_win.h b/ui/events/keycodes/keyboard_codes_win.h |
index 396d38bea7ef4ec48068746f6acb41fed14f0edd..a2bb6452a9048dee2676e26b3d8b5043f82b35f0 100644 |
--- a/ui/events/keycodes/keyboard_codes_win.h |
+++ b/ui/events/keycodes/keyboard_codes_win.h |
@@ -182,6 +182,11 @@ enum KeyboardCode { |
VKEY_OEM_CLEAR = VK_OEM_CLEAR, |
VKEY_UNKNOWN = 0, |
+ // These keys are defined in POSIX but not in Windows |
+ VKEY_POWER = VKEY_UNKNOWN, |
+ VKEY_BRIGHTNESS_DOWN = VKEY_UNKNOWN, |
+ VKEY_BRIGHTNESS_UP = VKEY_UNKNOWN, |
+ |
// Windows does not have a specific key code for AltGr. We use the unused |
// VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux. |
VKEY_ALTGR = VK_OEM_AX, |