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 #ifndef UI_EVENTS_KEYCODES_KEYBOARD_CODES_WIN_H_ | 5 #ifndef UI_EVENTS_KEYCODES_KEYBOARD_CODES_WIN_H_ |
6 #define UI_EVENTS_KEYCODES_KEYBOARD_CODES_WIN_H_ | 6 #define UI_EVENTS_KEYCODES_KEYBOARD_CODES_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <ime.h> | 9 #include <ime.h> |
10 | 10 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 VKEY_OEM_2 = VK_OEM_2, | 163 VKEY_OEM_2 = VK_OEM_2, |
164 VKEY_OEM_3 = VK_OEM_3, | 164 VKEY_OEM_3 = VK_OEM_3, |
165 VKEY_OEM_4 = VK_OEM_4, | 165 VKEY_OEM_4 = VK_OEM_4, |
166 VKEY_OEM_5 = VK_OEM_5, | 166 VKEY_OEM_5 = VK_OEM_5, |
167 VKEY_OEM_6 = VK_OEM_6, | 167 VKEY_OEM_6 = VK_OEM_6, |
168 VKEY_OEM_7 = VK_OEM_7, | 168 VKEY_OEM_7 = VK_OEM_7, |
169 VKEY_OEM_8 = VK_OEM_8, | 169 VKEY_OEM_8 = VK_OEM_8, |
170 VKEY_OEM_102 = VK_OEM_102, | 170 VKEY_OEM_102 = VK_OEM_102, |
171 VKEY_PROCESSKEY = VK_PROCESSKEY, | 171 VKEY_PROCESSKEY = VK_PROCESSKEY, |
172 VKEY_PACKET = VK_PACKET, | 172 VKEY_PACKET = VK_PACKET, |
| 173 VKEY_OEM_ATTN = VK_OEM_ATTN, |
| 174 VKEY_OEM_FINISH = VK_OEM_FINISH, |
| 175 VKEY_OEM_COPY = VK_OEM_COPY, |
173 VKEY_DBE_SBCSCHAR = VK_DBE_SBCSCHAR, | 176 VKEY_DBE_SBCSCHAR = VK_DBE_SBCSCHAR, |
174 VKEY_DBE_DBCSCHAR = VK_DBE_DBCSCHAR, | 177 VKEY_DBE_DBCSCHAR = VK_DBE_DBCSCHAR, |
| 178 VKEY_OEM_BACKTAB = VK_OEM_BACKTAB, |
175 VKEY_ATTN = VK_ATTN, | 179 VKEY_ATTN = VK_ATTN, |
176 VKEY_CRSEL = VK_CRSEL, | 180 VKEY_CRSEL = VK_CRSEL, |
177 VKEY_EXSEL = VK_EXSEL, | 181 VKEY_EXSEL = VK_EXSEL, |
178 VKEY_EREOF = VK_EREOF, | 182 VKEY_EREOF = VK_EREOF, |
179 VKEY_PLAY = VK_PLAY, | 183 VKEY_PLAY = VK_PLAY, |
180 VKEY_ZOOM = VK_ZOOM, | 184 VKEY_ZOOM = VK_ZOOM, |
181 VKEY_NONAME = VK_NONAME, | 185 VKEY_NONAME = VK_NONAME, |
182 VKEY_PA1 = VK_PA1, | 186 VKEY_PA1 = VK_PA1, |
183 VKEY_OEM_CLEAR = VK_OEM_CLEAR, | 187 VKEY_OEM_CLEAR = VK_OEM_CLEAR, |
184 VKEY_UNKNOWN = 0, | 188 VKEY_UNKNOWN = 0, |
185 | 189 |
186 // Windows does not have a specific key code for AltGr. We use the unused | 190 // Windows does not have a specific key code for AltGr. We use the unused |
187 // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux. | 191 // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux. |
188 VKEY_ALTGR = VK_OEM_AX, | 192 VKEY_ALTGR = VK_OEM_AX, |
189 }; | 193 }; |
190 | 194 |
191 } // namespace ui | 195 } // namespace ui |
192 | 196 |
193 #endif // UI_EVENTS_KEYCODES_KEYBOARD_CODES_WIN_H_ | 197 #endif // UI_EVENTS_KEYCODES_KEYBOARD_CODES_WIN_H_ |
OLD | NEW |