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

Unified Diff: ui/events/event_utils.h

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: ui/events/event_utils.h
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
index f1f5f34d2754a3567268a7a8580abdfd2246431a..047073738205500f4093b0073388f9ad778ee01b 100644
--- a/ui/events/event_utils.h
+++ b/ui/events/event_utils.h
@@ -67,7 +67,7 @@ EVENTS_EXPORT gfx::Point EventLocationFromNative(
EVENTS_EXPORT gfx::Point EventSystemLocationFromNative(
const base::NativeEvent& native_event);
-#if defined(USE_X11)
+#if defined(USE_X11) || defined(USE_OZONE)
// Returns the 'real' button for an event. The button reported in slave events
// does not take into account any remapping (e.g. using xmodmap), while the
// button reported in master events do. This is a utility function to always

Powered by Google App Engine
This is Rietveld 408576698