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

Side by Side Diff: Source/testing/runner/KeyCodeMapping.h

Issue 22831043: KeyboardEvent.location should be DOM_KEY_LOCATION_STANDARD for Num Lock key (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove mention of DRT Created 7 years, 4 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 | « Source/testing/runner/EventSender.cpp ('k') | Source/testing/runner/KeyCodeMapping.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 VKEY_HOME = 0x24, 43 VKEY_HOME = 0x24,
44 VKEY_LEFT = 0x25, 44 VKEY_LEFT = 0x25,
45 VKEY_UP = 0x26, 45 VKEY_UP = 0x26,
46 VKEY_RIGHT = 0x27, 46 VKEY_RIGHT = 0x27,
47 VKEY_DOWN = 0x28, 47 VKEY_DOWN = 0x28,
48 VKEY_SNAPSHOT = 0x2C, 48 VKEY_SNAPSHOT = 0x2C,
49 VKEY_INSERT = 0x2D, 49 VKEY_INSERT = 0x2D,
50 VKEY_DELETE = 0x2E, 50 VKEY_DELETE = 0x2E,
51 VKEY_APPS = 0x5D, 51 VKEY_APPS = 0x5D,
52 VKEY_F1 = 0x70, 52 VKEY_F1 = 0x70,
53 VKEY_NUMLOCK = 0x90,
53 VKEY_LSHIFT = 0xA0, 54 VKEY_LSHIFT = 0xA0,
54 VKEY_RSHIFT = 0xA1, 55 VKEY_RSHIFT = 0xA1,
55 VKEY_LCONTROL = 0xA2, 56 VKEY_LCONTROL = 0xA2,
56 VKEY_RCONTROL = 0xA3, 57 VKEY_RCONTROL = 0xA3,
57 VKEY_LMENU = 0xA4, 58 VKEY_LMENU = 0xA4,
58 VKEY_RMENU = 0xA5, 59 VKEY_RMENU = 0xA5,
59 }; 60 };
60 61
61 // Map a windows keycode to a native keycode on defined(__linux__) && defined(TO OLKIT_GTK). 62 // Map a windows keycode to a native keycode on defined(__linux__) && defined(TO OLKIT_GTK).
62 int NativeKeyCodeForWindowsKeyCode(int keysym); 63 int NativeKeyCodeForWindowsKeyCode(int keysym);
63 64
64 } 65 }
65 66
66 #endif // KeyCodeMapping_h 67 #endif // KeyCodeMapping_h
OLDNEW
« no previous file with comments | « Source/testing/runner/EventSender.cpp ('k') | Source/testing/runner/KeyCodeMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698