| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /* | 5 /* |
| 6 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com. All rights reserved. | 6 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com. All rights reserved. |
| 7 * Copyright (C) 2008, 2009 Google Inc. | 7 * Copyright (C) 2008, 2009 Google Inc. |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions | 10 * modification, are permitted provided that the following conditions |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 VKEY_POWER = 0x98, | 214 VKEY_POWER = 0x98, |
| 215 VKEY_BRIGHTNESS_DOWN = 0xD8, | 215 VKEY_BRIGHTNESS_DOWN = 0xD8, |
| 216 VKEY_BRIGHTNESS_UP = 0xD9, | 216 VKEY_BRIGHTNESS_UP = 0xD9, |
| 217 VKEY_KBD_BRIGHTNESS_DOWN = 0xDA, | 217 VKEY_KBD_BRIGHTNESS_DOWN = 0xDA, |
| 218 VKEY_KBD_BRIGHTNESS_UP = 0xE8, | 218 VKEY_KBD_BRIGHTNESS_UP = 0xE8, |
| 219 | 219 |
| 220 // Windows does not have a specific key code for AltGr. We use the unused 0xE1 | 220 // Windows does not have a specific key code for AltGr. We use the unused 0xE1 |
| 221 // (VK_OEM_AX) code to represent AltGr, matching the behaviour of Firefox on | 221 // (VK_OEM_AX) code to represent AltGr, matching the behaviour of Firefox on |
| 222 // Linux. | 222 // Linux. |
| 223 VKEY_ALTGR = 0xE1, | 223 VKEY_ALTGR = 0xE1, |
| 224 #if defined(USE_X11) | 224 #if defined(USE_X11) || defined(USE_OZONE) |
| 225 // Windows does not have a specific key code for Compose. We use the unused | 225 // Windows does not have a specific key code for Compose. We use the unused |
| 226 // 0xE6 (VK_ICO_CLEAR) code to represent Compose. | 226 // 0xE6 (VK_ICO_CLEAR) code to represent Compose. |
| 227 VKEY_COMPOSE = 0xE6, | 227 VKEY_COMPOSE = 0xE6, |
| 228 #endif | 228 #endif |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 } // namespace ui | 231 } // namespace ui |
| 232 | 232 |
| 233 #endif // UI_EVENTS_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 233 #endif // UI_EVENTS_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| OLD | NEW |