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
3 // found in the LICENSE file.
7 // Cross platform keyboard codes.
9 // Because the web has standardized on Win32 keyboard codes, so does mojo.
17 MENU = 0x12, // a.k.a. ALT
84 COMMAND = 0x5B, // Provide the Mac name for convenience.
137 BROWSER_FORWARD = 0xA7,
138 BROWSER_REFRESH = 0xA8,
140 BROWSER_SEARCH = 0xAA,
141 BROWSER_FAVORITES = 0xAB,
146 MEDIA_NEXT_TRACK = 0xB0,
147 MEDIA_PREV_TRACK = 0xB1,
149 MEDIA_PLAY_PAUSE = 0xB3,
150 MEDIA_LAUNCH_MAIL = 0xB4,
151 MEDIA_LAUNCH_MEDIA_SELECT = 0xB5,
152 MEDIA_LAUNCH_APP1 = 0xB6,
153 MEDIA_LAUNCH_APP2 = 0xB7,
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.