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

Side by Side Diff: content/shell/renderer/test_runner/key_code_mapping.h

Issue 234533002: Remove a bunch of TOOLKIT_GTK in content/ and gpu/, as well as NPAPI plugins on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, skip changing browser_main_loop.cc because of presubmit issues, will follow up Created 6 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
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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_
7 7
8 namespace content { 8 namespace content {
9 9
10 // The keycodes match the values of the virtual keycodes found here 10 // The keycodes match the values of the virtual keycodes found here
(...skipping 16 matching lines...) Expand all
27 VKEY_F1 = 0x70, 27 VKEY_F1 = 0x70,
28 VKEY_NUMLOCK = 0x90, 28 VKEY_NUMLOCK = 0x90,
29 VKEY_LSHIFT = 0xA0, 29 VKEY_LSHIFT = 0xA0,
30 VKEY_RSHIFT = 0xA1, 30 VKEY_RSHIFT = 0xA1,
31 VKEY_LCONTROL = 0xA2, 31 VKEY_LCONTROL = 0xA2,
32 VKEY_RCONTROL = 0xA3, 32 VKEY_RCONTROL = 0xA3,
33 VKEY_LMENU = 0xA4, 33 VKEY_LMENU = 0xA4,
34 VKEY_RMENU = 0xA5, 34 VKEY_RMENU = 0xA5,
35 }; 35 };
36 36
37 // Map a windows keycode to a native keycode on defined(__linux__) && defined(TO OLKIT_GTK).
38 int NativeKeyCodeForWindowsKeyCode(int keysym);
39
40 } // namespace content 37 } // namespace content
41 38
42 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_ 39 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_KEY_CODE_MAPPING_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/event_sender.cc ('k') | content/shell/renderer/test_runner/key_code_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698