| OLD | NEW |
| 1 // Copyright (c) 2011 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 |
| 11 * are met: | 11 * are met: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 31 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| 32 #define UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 32 #define UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| 33 #pragma once | 33 #pragma once |
| 34 | 34 |
| 35 namespace ui { | 35 namespace ui { |
| 36 | 36 |
| 37 typedef enum { | 37 typedef enum { |
| 38 VKEY_BACK = 0x08, | 38 VKEY_BACK = 0x08, |
| 39 VKEY_TAB = 0x09, | 39 VKEY_TAB = 0x09, |
| 40 VKEY_BACKTAB = 0x0A, |
| 40 VKEY_CLEAR = 0x0C, | 41 VKEY_CLEAR = 0x0C, |
| 41 VKEY_RETURN = 0x0D, | 42 VKEY_RETURN = 0x0D, |
| 42 VKEY_SHIFT = 0x10, | 43 VKEY_SHIFT = 0x10, |
| 43 VKEY_CONTROL = 0x11, | 44 VKEY_CONTROL = 0x11, |
| 44 VKEY_MENU = 0x12, | 45 VKEY_MENU = 0x12, |
| 45 VKEY_PAUSE = 0x13, | 46 VKEY_PAUSE = 0x13, |
| 46 VKEY_CAPITAL = 0x14, | 47 VKEY_CAPITAL = 0x14, |
| 47 VKEY_KANA = 0x15, | 48 VKEY_KANA = 0x15, |
| 48 VKEY_HANGUL = 0x15, | 49 VKEY_HANGUL = 0x15, |
| 49 VKEY_JUNJA = 0x17, | 50 VKEY_JUNJA = 0x17, |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 VKEY_ZOOM = 0xFB, | 202 VKEY_ZOOM = 0xFB, |
| 202 VKEY_NONAME = 0xFC, | 203 VKEY_NONAME = 0xFC, |
| 203 VKEY_PA1 = 0xFD, | 204 VKEY_PA1 = 0xFD, |
| 204 VKEY_OEM_CLEAR = 0xFE, | 205 VKEY_OEM_CLEAR = 0xFE, |
| 205 VKEY_UNKNOWN = 0 | 206 VKEY_UNKNOWN = 0 |
| 206 } KeyboardCode; | 207 } KeyboardCode; |
| 207 | 208 |
| 208 } // namespace ui | 209 } // namespace ui |
| 209 | 210 |
| 210 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ | 211 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_POSIX_H_ |
| OLD | NEW |