Index: chrome/browser/ui/views/simple_message_box_views.cc |
diff --git a/chrome/browser/ui/views/simple_message_box_views.cc b/chrome/browser/ui/views/simple_message_box_views.cc |
index fc7a1e1c88b37f45c271cd2b501b3e3d7bce2255..4d36cdb25c1d0ac83f2b0a327cf72f4bf3a6ed79 100644 |
--- a/chrome/browser/ui/views/simple_message_box_views.cc |
+++ b/chrome/browser/ui/views/simple_message_box_views.cc |
@@ -13,7 +13,7 @@ |
#include "views/controls/message_box_view.h" |
#include "views/widget/widget.h" |
-#if defined(TOUCH_UI) |
+#if defined(TOUCH_UI) || defined(USE_AURA) |
#include "views/focus/accelerator_handler.h" |
#endif |
@@ -155,7 +155,7 @@ bool SimpleMessageBoxViews::Dispatch(const MSG& msg) { |
DispatchMessage(&msg); |
return disposition_ == DISPOSITION_UNKNOWN; |
} |
-#elif defined(TOUCH_UI) |
+#elif defined(TOUCH_UI) || defined(USE_AURA) |
base::MessagePumpDispatcher::DispatchStatus |
SimpleMessageBoxViews::Dispatch(XEvent* xev) { |
if (!views::DispatchXEvent(xev)) |