summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 23:55:42 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 23:55:42 +0000
commitb8a3cfa79f727aef4b660c4eaa3ef1e5db825e17 (patch)
tree273eff159e30bc504eb1568755e65a0ba0a49be8 /webkit/glue/webview_impl.cc
parent62cb33cae4bad68a085b50832c8a7f1e1c2e917c (diff)
downloadchromium_src-b8a3cfa79f727aef4b660c4eaa3ef1e5db825e17.zip
chromium_src-b8a3cfa79f727aef4b660c4eaa3ef1e5db825e17.tar.gz
chromium_src-b8a3cfa79f727aef4b660c4eaa3ef1e5db825e17.tar.bz2
Fix mac build bustage and remove some files that I forgot to delete.
TBR=dglazkov Review URL: http://codereview.chromium.org/55048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r--webkit/glue/webview_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 4d6b8a09..e0247e3 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -462,9 +462,9 @@ void WebViewImpl::MouseDown(const WebMouseEvent& event) {
#if defined(OS_MACOSX)
// Dispatch the contextmenu event regardless of if the click was swallowed.
- if (event.button == WebMouseEvent::BUTTON_RIGHT ||
- (event.button == WebMouseEvent::BUTTON_LEFT &&
- event.modifiers & WebMouseEvent::CTRL_KEY))
+ if (event.button == WebMouseEvent::ButtonRight ||
+ (event.button == WebMouseEvent::ButtonLeft &&
+ event.modifiers & WebMouseEvent::ControlKey))
MouseContextMenu(event);
#endif
}