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

Side by Side Diff: ui/events/keycodes/xkb_keysym.h

Issue 2510193002: Move use_xkbcommon from build to ui/base (Closed)
Patch Set: Typo Created 4 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
« no previous file with comments | « ui/events/keycodes/DEPS ('k') | ui/events/ozone/BUILD.gn » ('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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 UI_EVENTS_KEYCODES_XKB_KEYSYM_H_ 5 #ifndef UI_EVENTS_KEYCODES_XKB_KEYSYM_H_
6 #define UI_EVENTS_KEYCODES_XKB_KEYSYM_H_ 6 #define UI_EVENTS_KEYCODES_XKB_KEYSYM_H_
7 7
8 #include "ui/base/ui_features.h"
9
8 // This file provides definitions of the xkbcommon keysym type (xkb_keysym_t) 10 // This file provides definitions of the xkbcommon keysym type (xkb_keysym_t)
9 // and values (XKB_KEY_...) for both xkbcommon and traditional X11. 11 // and values (XKB_KEY_...) for both xkbcommon and traditional X11.
10 12
11 #if defined(USE_XKBCOMMON) 13 #if BUILDFLAG(USE_XKBCOMMON)
12 14
13 #include <xkbcommon/xkbcommon.h> 15 #include <xkbcommon/xkbcommon.h>
14 #include <xkbcommon/xkbcommon-keysyms.h> 16 #include <xkbcommon/xkbcommon-keysyms.h>
15 17
16 #else // !defined(USE_XKBCOMMON) 18 #else // !BUILDFLAG(USE_XKBCOMMON)
17 19
18 #define XK_3270 // For XK_3270_BackTab in particular. 20 #define XK_3270 // For XK_3270_BackTab in particular.
19 #include <X11/X.h> 21 #include <X11/X.h>
20 #include <X11/keysym.h> 22 #include <X11/keysym.h>
21 #include <X11/Sunkeysym.h> 23 #include <X11/Sunkeysym.h>
22 #include <X11/XF86keysym.h> 24 #include <X11/XF86keysym.h>
23 25
24 using xkb_keysym_t = uint32_t; 26 using xkb_keysym_t = uint32_t;
25 27
26 #define XKB_KEY_3270_Duplicate XK_3270_Duplicate 28 #define XKB_KEY_3270_Duplicate XK_3270_Duplicate
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 #define XKB_KEY_XF86Hibernate XF86XK_Hibernate 529 #define XKB_KEY_XF86Hibernate XF86XK_Hibernate
528 #define XKB_KEY_XF86TouchpadToggle XF86XK_TouchpadToggle 530 #define XKB_KEY_XF86TouchpadToggle XF86XK_TouchpadToggle
529 #define XKB_KEY_XF86TouchpadOn XF86XK_TouchpadOn 531 #define XKB_KEY_XF86TouchpadOn XF86XK_TouchpadOn
530 #define XKB_KEY_XF86TouchpadOff XF86XK_TouchpadOff 532 #define XKB_KEY_XF86TouchpadOff XF86XK_TouchpadOff
531 #define XKB_KEY_XF86AudioMicMute XF86XK_AudioMicMute 533 #define XKB_KEY_XF86AudioMicMute XF86XK_AudioMicMute
532 534
533 #endif 535 #endif
534 536
535 #endif // UI_EVENTS_KEYCODES_XKB_KEYSYM_H_ 537 #endif // UI_EVENTS_KEYCODES_XKB_KEYSYM_H_
536 538
OLDNEW
« no previous file with comments | « ui/events/keycodes/DEPS ('k') | ui/events/ozone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698