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

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

Issue 9965049: ui/base: Clean up our AcceleratorGtk class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky review Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/keycodes/keyboard_codes_posix.h ('k') | ui/ui.gyp » ('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_BASE_KEYCODES_KEYBOARD_CODES_WIN_H_ 5 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODES_WIN_H_
6 #define UI_BASE_KEYCODES_KEYBOARD_CODES_WIN_H_ 6 #define UI_BASE_KEYCODES_KEYBOARD_CODES_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <ime.h> 10 #include <ime.h>
11 11
12 namespace ui { 12 namespace ui {
13 13
14 typedef enum { 14 enum KeyboardCode {
15 VKEY_BACK = VK_BACK, 15 VKEY_BACK = VK_BACK,
16 VKEY_TAB = VK_TAB, 16 VKEY_TAB = VK_TAB,
17 VKEY_CLEAR = VK_CLEAR, 17 VKEY_CLEAR = VK_CLEAR,
18 VKEY_RETURN = VK_RETURN, 18 VKEY_RETURN = VK_RETURN,
19 VKEY_SHIFT = VK_SHIFT, 19 VKEY_SHIFT = VK_SHIFT,
20 VKEY_CONTROL = VK_CONTROL, 20 VKEY_CONTROL = VK_CONTROL,
21 VKEY_MENU = VK_MENU, // a.k.a. ALT 21 VKEY_MENU = VK_MENU, // a.k.a. ALT
22 VKEY_PAUSE = VK_PAUSE, 22 VKEY_PAUSE = VK_PAUSE,
23 VKEY_CAPITAL = VK_CAPITAL, 23 VKEY_CAPITAL = VK_CAPITAL,
24 VKEY_KANA = VK_KANA, 24 VKEY_KANA = VK_KANA,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 VKEY_ATTN = VK_ATTN, 175 VKEY_ATTN = VK_ATTN,
176 VKEY_CRSEL = VK_CRSEL, 176 VKEY_CRSEL = VK_CRSEL,
177 VKEY_EXSEL = VK_EXSEL, 177 VKEY_EXSEL = VK_EXSEL,
178 VKEY_EREOF = VK_EREOF, 178 VKEY_EREOF = VK_EREOF,
179 VKEY_PLAY = VK_PLAY, 179 VKEY_PLAY = VK_PLAY,
180 VKEY_ZOOM = VK_ZOOM, 180 VKEY_ZOOM = VK_ZOOM,
181 VKEY_NONAME = VK_NONAME, 181 VKEY_NONAME = VK_NONAME,
182 VKEY_PA1 = VK_PA1, 182 VKEY_PA1 = VK_PA1,
183 VKEY_OEM_CLEAR = VK_OEM_CLEAR, 183 VKEY_OEM_CLEAR = VK_OEM_CLEAR,
184 VKEY_UNKNOWN = 0 184 VKEY_UNKNOWN = 0
185 } KeyboardCode; 185 };
186 186
187 } // namespace ui 187 } // namespace ui
188 188
189 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_WIN_H_ 189 #endif // UI_BASE_KEYCODES_KEYBOARD_CODES_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/keycodes/keyboard_codes_posix.h ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698