summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/mac
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 18:27:44 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 18:27:44 +0000
commit9958c8ab6f76da35fbf30272b2b82d26bf823230 (patch)
treecab2771b559c9c791e0e4afd0d55fbe218b58e38 /webkit/tools/test_shell/mac
parentdf064db3c7284f8b3b7330dd332584e0aa462483 (diff)
downloadchromium_src-9958c8ab6f76da35fbf30272b2b82d26bf823230.zip
chromium_src-9958c8ab6f76da35fbf30272b2b82d26bf823230.tar.gz
chromium_src-9958c8ab6f76da35fbf30272b2b82d26bf823230.tar.bz2
Reverting 10794.
Review URL: http://codereview.chromium.org/40027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/mac')
-rw-r--r--webkit/tools/test_shell/mac/webwidget_host.mm10
1 files changed, 9 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/mac/webwidget_host.mm b/webkit/tools/test_shell/mac/webwidget_host.mm
index b99aca7..dc1b6c6 100644
--- a/webkit/tools/test_shell/mac/webwidget_host.mm
+++ b/webkit/tools/test_shell/mac/webwidget_host.mm
@@ -221,7 +221,15 @@ void WebWidgetHost::MouseEvent(NSEvent *event) {
case WebInputEvent::MOUSE_LEAVE:
TrackMouseLeave(false);
break;
- default:
+ case WebInputEvent::MOUSE_DOWN:
+ break;
+ case WebInputEvent::MOUSE_UP:
+ break;
+ case WebInputEvent::MOUSE_DOUBLE_CLICK:
+ case WebInputEvent::MOUSE_WHEEL:
+ case WebInputEvent::KEY_DOWN:
+ case WebInputEvent::KEY_UP:
+ case WebInputEvent::CHAR:
break;
}
webwidget_->HandleInputEvent(&web_event);