diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 23:55:42 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 23:55:42 +0000 |
commit | b8a3cfa79f727aef4b660c4eaa3ef1e5db825e17 (patch) | |
tree | 273eff159e30bc504eb1568755e65a0ba0a49be8 /webkit/glue/webview_impl.cc | |
parent | 62cb33cae4bad68a085b50832c8a7f1e1c2e917c (diff) | |
download | chromium_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.cc | 6 |
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 } |