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

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

Issue 2128573002: [DomKey] Support Japanese (JIS) layout special keys (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wez's review 2 Created 4 years, 5 months 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_codes_posix.h ('k') | ui/events/keycodes/platform_key_map_win.cc » ('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 #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
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_
OLDNEW
« no previous file with comments | « ui/events/keycodes/keyboard_codes_posix.h ('k') | ui/events/keycodes/platform_key_map_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698