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 // no-format |
4 | 5 |
5 [DartPackage="mojo_services"] | 6 [DartPackage="mojo_services"] |
6 module mojo; | 7 module mojo; |
7 | 8 |
8 // Cross platform keyboard codes. | 9 // Cross platform keyboard codes. |
9 // | 10 // |
10 // Because the web has standardized on Win32 keyboard codes, so does mojo. | 11 // Because the web has standardized on Win32 keyboard codes, so does mojo. |
11 enum KeyboardCode { | 12 enum KeyboardCode { |
12 BACK = 0x08, | 13 BACK = 0x08, |
13 TAB = 0x09, | 14 TAB = 0x09, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 ZOOM = 0xFB, | 179 ZOOM = 0xFB, |
179 NONAME = 0xFC, | 180 NONAME = 0xFC, |
180 PA1 = 0xFD, | 181 PA1 = 0xFD, |
181 OEM_CLEAR = 0xFE, | 182 OEM_CLEAR = 0xFE, |
182 UNKNOWN = 0, | 183 UNKNOWN = 0, |
183 | 184 |
184 // Windows does not have a specific key code for AltGr. We use the unused | 185 // Windows does not have a specific key code for AltGr. We use the unused |
185 // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux. | 186 // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux. |
186 ALTGR = 0xE1, | 187 ALTGR = 0xE1, |
187 }; | 188 }; |
| 189 // end-no-format |
OLD | NEW |