OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 | 9 |
10 // The keycodes match the values of the virtual keycodes found here | 10 // The keycodes match the values of the virtual keycodes found here |
(...skipping 16 matching lines...) Expand all Loading... |
27 VKEY_F1 = 0x70, | 27 VKEY_F1 = 0x70, |
28 VKEY_NUMLOCK = 0x90, | 28 VKEY_NUMLOCK = 0x90, |
29 VKEY_LSHIFT = 0xA0, | 29 VKEY_LSHIFT = 0xA0, |
30 VKEY_RSHIFT = 0xA1, | 30 VKEY_RSHIFT = 0xA1, |
31 VKEY_LCONTROL = 0xA2, | 31 VKEY_LCONTROL = 0xA2, |
32 VKEY_RCONTROL = 0xA3, | 32 VKEY_RCONTROL = 0xA3, |
33 VKEY_LMENU = 0xA4, | 33 VKEY_LMENU = 0xA4, |
34 VKEY_RMENU = 0xA5, | 34 VKEY_RMENU = 0xA5, |
35 }; | 35 }; |
36 | 36 |
37 // Map a windows keycode to a native keycode on defined(__linux__) && defined(TO
OLKIT_GTK). | |
38 int NativeKeyCodeForWindowsKeyCode(int keysym); | |
39 | |
40 } // namespace content | 37 } // namespace content |
41 | 38 |
42 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ | 39 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ |
OLD | NEW |