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

Unified Diff: ui/views/mouse_watcher.cc

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
« no previous file with comments | « ui/views/focus/accelerator_handler_wayland.cc ('k') | ui/wayland/wayland.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « ui/views/focus/accelerator_handler_wayland.cc ('k') | ui/wayland/wayland.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698