Index: views/focus/accelerator_handler.h |
diff --git a/views/focus/accelerator_handler.h b/views/focus/accelerator_handler.h |
index 7154eef836406fa0893b5ccb7af1d0acd1d10442..36c2f98ab70d4081c3a080291dabd6a0bb2a19b7 100644 |
--- a/views/focus/accelerator_handler.h |
+++ b/views/focus/accelerator_handler.h |
@@ -20,7 +20,8 @@ |
namespace views { |
-#if defined(TOUCH_UI) && !defined(USE_WAYLAND) |
+#if (defined(TOUCH_UI) && !defined(USE_WAYLAND)) \ |
+ || (!defined(WIN_OS) && defined(USE_AURA)) |
// Dispatch an XEvent to the RootView. Return true if the event was dispatched |
// and handled, false otherwise. |
bool VIEWS_EXPORT DispatchXEvent(XEvent* xevent); |