From 009270d04d50b0b4731d3cd571da10339235a533 Mon Sep 17 00:00:00 2001 From: "davemoore@chromium.org" Date: Tue, 7 Feb 2012 00:42:10 +0000 Subject: Fix for MouseWatcher on views/gtk BUG=None TEST=None TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9348002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120658 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/views/mouse_watcher.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/views/mouse_watcher.cc') diff --git a/ui/views/mouse_watcher.cc b/ui/views/mouse_watcher.cc index 4b963d9..ab68b6e 100644 --- a/ui/views/mouse_watcher.cc +++ b/ui/views/mouse_watcher.cc @@ -101,10 +101,10 @@ class MouseWatcher::Observer : public MessageLoopForUI::Observer { virtual void DidProcessEvent(GdkEvent* event) OVERRIDE { switch (event->type) { case GDK_MOTION_NOTIFY: - HandleGlobalMouseMoveEvent(MOUSE_MOVE); + HandleGlobalMouseMoveEvent(MouseWatcherHost::MOUSE_MOVE); break; case GDK_LEAVE_NOTIFY: - HandleGlobalMouseMoveEvent(MOUSE_EXIT); + HandleGlobalMouseMoveEvent(MouseWatcherHost::MOUSE_EXIT); break; default: break; -- cgit v1.1