summaryrefslogtreecommitdiffstats
path: root/ui/views/mouse_watcher.cc
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-07 00:42:10 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-07 00:42:10 +0000
commit009270d04d50b0b4731d3cd571da10339235a533 (patch)
tree8325bbc18a9ebb27bd66d51b047af65180636aac /ui/views/mouse_watcher.cc
parent8513a6db065f003c2e83ac4c2d542150b9967f73 (diff)
downloadchromium_src-009270d04d50b0b4731d3cd571da10339235a533.zip
chromium_src-009270d04d50b0b4731d3cd571da10339235a533.tar.gz
chromium_src-009270d04d50b0b4731d3cd571da10339235a533.tar.bz2
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
Diffstat (limited to 'ui/views/mouse_watcher.cc')
-rw-r--r--ui/views/mouse_watcher.cc4
1 files changed, 2 insertions, 2 deletions
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;