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

Unified Diff: ui/views/focus/accelerator_handler.h

Issue 10009024: Remove WAYLAND port (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 8 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: ui/views/focus/accelerator_handler.h
diff --git a/ui/views/focus/accelerator_handler.h b/ui/views/focus/accelerator_handler.h
index 7897294752cc6dc04c542701ad9d0569c124585f..7f5cab1489a4ebe1409eb1e7c2a278717ed4a09f 100644
--- a/ui/views/focus/accelerator_handler.h
+++ b/ui/views/focus/accelerator_handler.h
@@ -17,11 +17,11 @@
namespace views {
-#if defined(USE_AURA) && defined(USE_X11) && !defined(USE_WAYLAND)
+#if defined(USE_AURA) && defined(USE_X11)
// Dispatch an XEvent to the RootView. Return true if the event was dispatched
// and handled, false otherwise.
bool VIEWS_EXPORT DispatchXEvent(XEvent* xevent);
-#endif // USE_AURA && USE_X11 && !USE_WAYLAND
+#endif // USE_AURA && USE_X11
// This class delegates the key messages to the associated FocusManager class
// for the window that is receiving these messages for accelerator processing.
@@ -37,9 +37,6 @@ class VIEWS_EXPORT AcceleratorHandler : public MessageLoop::Dispatcher {
// focus manager
#if defined(OS_WIN)
virtual bool Dispatch(const MSG& msg) OVERRIDE;
-#elif defined(USE_WAYLAND)
- virtual base::MessagePumpDispatcher::DispatchStatus Dispatch(
- base::wayland::WaylandEvent* ev) OVERRIDE;
#elif defined(OS_MACOSX)
// TODO(dhollowa): Implement on Mac. http://crbug.com/109946
#elif defined(USE_AURA)
« no previous file with comments | « ui/views/controls/textfield/native_textfield_wayland.cc ('k') | ui/views/focus/accelerator_handler_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698