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

Side by Side Diff: ui/events/keycodes/keyboard_codes_posix.h

Issue 742103002: Ozone keyboard layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lite-code
Patch Set: reeeeebase Created 6 years 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 unified diff | Download patch
« no previous file with comments | « ui/events/keycodes/keyboard_code_conversion.cc ('k') | ui/events/ozone/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
225 // Windows does not have a specific key code for Compose. We use the unused 224 // Windows does not have a specific key code for Compose. We use the unused
226 // 0xE6 (VK_ICO_CLEAR) code to represent Compose. 225 // 0xE6 (VK_ICO_CLEAR) code to represent Compose.
227 VKEY_COMPOSE = 0xE6, 226 VKEY_COMPOSE = 0xE6,
228 #endif
229 }; 227 };
230 228
231 } // namespace ui 229 } // namespace ui
232 230
233 #endif // UI_EVENTS_KEYCODES_KEYBOARD_CODES_POSIX_H_ 231 #endif // UI_EVENTS_KEYCODES_KEYBOARD_CODES_POSIX_H_
OLDNEW
« no previous file with comments | « ui/events/keycodes/keyboard_code_conversion.cc ('k') | ui/events/ozone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698