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

Side by Side Diff: mojo/services/public/interfaces/input_events/input_key_codes.mojom

Issue 687793004: mojom: Remove braces from module statements and make them come first. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 mojo { 5 module mojo;
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 enum KeyboardCode { 10 enum KeyboardCode {
11 BACK = 0x08, 11 BACK = 0x08,
12 TAB = 0x09, 12 TAB = 0x09,
13 CLEAR = 0x0C, 13 CLEAR = 0x0C,
14 RETURN = 0x0D, 14 RETURN = 0x0D,
15 SHIFT = 0x10, 15 SHIFT = 0x10,
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ZOOM = 0xFB, 177 ZOOM = 0xFB,
178 NONAME = 0xFC, 178 NONAME = 0xFC,
179 PA1 = 0xFD, 179 PA1 = 0xFD,
180 OEM_CLEAR = 0xFE, 180 OEM_CLEAR = 0xFE,
181 UNKNOWN = 0, 181 UNKNOWN = 0,
182 182
183 // Windows does not have a specific key code for AltGr. We use the unused 183 // Windows does not have a specific key code for AltGr. We use the unused
184 // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux. 184 // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux.
185 ALTGR = 0xE1, 185 ALTGR = 0xE1,
186 }; 186 };
187
188 } // module mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698