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

Unified Diff: chrome/browser/ui/views/simple_message_box_views.cc

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: White spaces Created 9 years, 3 months 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: 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))

Powered by Google App Engine
This is Rietveld 408576698