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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/keycodes/DEPS ('k') | ui/events/ozone/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/xkb_keysym.h
diff --git a/ui/events/keycodes/xkb_keysym.h b/ui/events/keycodes/xkb_keysym.h
index 79d1f1f95f6f79faa405677d0936fa1190291748..96f2610cda2d1b5ea33c338752522582b22f2ed6 100644
--- a/ui/events/keycodes/xkb_keysym.h
+++ b/ui/events/keycodes/xkb_keysym.h
@@ -5,15 +5,17 @@
#ifndef UI_EVENTS_KEYCODES_XKB_KEYSYM_H_
#define UI_EVENTS_KEYCODES_XKB_KEYSYM_H_
+#include "ui/base/ui_features.h"
+
// This file provides definitions of the xkbcommon keysym type (xkb_keysym_t)
// and values (XKB_KEY_...) for both xkbcommon and traditional X11.
-#if defined(USE_XKBCOMMON)
+#if BUILDFLAG(USE_XKBCOMMON)
#include <xkbcommon/xkbcommon.h>
#include <xkbcommon/xkbcommon-keysyms.h>
-#else // !defined(USE_XKBCOMMON)
+#else // !BUILDFLAG(USE_XKBCOMMON)
#define XK_3270 // For XK_3270_BackTab in particular.
#include <X11/X.h>
« 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