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

Side by Side Diff: ui/events/mojo/keyboard_codes.mojom

Issue 2057793002: Reorganize event mojom files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typos in comments. Created 4 years, 6 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/mojo/event_struct_traits.cc ('k') | ui/events/mojo/traits_test_service.mojom » ('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 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 module mus.mojom; 5 module ui.mojom;
6 6
7 // Cross platform keyboard codes. 7 // Cross platform keyboard codes.
8 // 8 //
9 // Because the web has standardized on Win32 keyboard codes, so does mojo. 9 // Because the web has standardized on Win32 keyboard codes, so does mojo.
10 // TODO: shouldn't need extensible, see http://crbug.com/582279 10 // TODO: shouldn't need extensible, see http://crbug.com/582279
11 [Extensible] 11 [Extensible]
12 enum KeyboardCode { 12 enum KeyboardCode {
13 BACK = 0x08, 13 BACK = 0x08,
14 TAB = 0x09, 14 TAB = 0x09,
15 CLEAR = 0x0C, 15 CLEAR = 0x0C,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 ZOOM = 0xFB, 179 ZOOM = 0xFB,
180 NONAME = 0xFC, 180 NONAME = 0xFC,
181 PA1 = 0xFD, 181 PA1 = 0xFD,
182 OEM_CLEAR = 0xFE, 182 OEM_CLEAR = 0xFE,
183 UNKNOWN = 0, 183 UNKNOWN = 0,
184 184
185 // 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
186 // 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.
187 ALTGR = 0xE1, 187 ALTGR = 0xE1,
188 }; 188 };
OLDNEW
« no previous file with comments | « ui/events/mojo/event_struct_traits.cc ('k') | ui/events/mojo/traits_test_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698