Index: ui/views/mouse_watcher.cc |
diff --git a/ui/views/mouse_watcher.cc b/ui/views/mouse_watcher.cc |
index 8139bf34a8bcdcba3b2dd934d35037c3df306db4..0ade7660fe9ec5f5e450227be5d3f3055c93a00d 100644 |
--- a/ui/views/mouse_watcher.cc |
+++ b/ui/views/mouse_watcher.cc |
@@ -59,22 +59,6 @@ class MouseWatcher::Observer : public MessageLoopForUI::Observer { |
break; |
} |
} |
-#elif defined(USE_WAYLAND) |
- virtual MessageLoopForUI::Observer::EventStatus WillProcessEvent( |
- base::wayland::WaylandEvent* event) OVERRIDE { |
- switch (event->type) { |
- case base::wayland::WAYLAND_MOTION: |
- HandleGlobalMouseMoveEvent(MouseWatcherHost::MOUSE_MOVE); |
- break; |
- case base::wayland::WAYLAND_POINTER_FOCUS: |
- if (!event->pointer_focus.state) |
- HandleGlobalMouseMoveEvent(MouseWatcherHost::MOUSE_EXIT); |
- break; |
- default: |
- break; |
- } |
- return EVENT_CONTINUE; |
- } |
#elif defined(USE_AURA) |
virtual base::EventStatus WillProcessEvent( |
const base::NativeEvent& event) OVERRIDE { |