Bug 595132 - Don't trap and send context menu events destined for the browser to plugins. r=masayuki, a=final
authorJim Mathies <jmathies@mozilla.com>
Thu, 02 Dec 2010 10:52:10 -0600
changeset 58496 8bd4943447fba3d4195c87cfc9c0a0e8453bf076
parent 58495 ea8c9b1d381be538438a94db5d006ff494f0f3dd
child 58497 cb69605b40287d405828396a288a8424e88b4379
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersmasayuki, final
bugs595132
milestone2.0b8pre
Bug 595132 - Don't trap and send context menu events destined for the browser to plugins. r=masayuki, a=final
widget/src/windows/nsWindow.cpp
--- a/widget/src/windows/nsWindow.cpp
+++ b/widget/src/windows/nsWindow.cpp
@@ -4433,17 +4433,16 @@ nsWindow::ProcessMessageForPlugin(const 
 
     case WM_KEYDOWN:
     case WM_SYSKEYDOWN:
       *aResult = ProcessKeyDownMessage(aMsg, &eventDispatched);
       break;
 
     case WM_DEADCHAR:
     case WM_SYSDEADCHAR:
-    case WM_CONTEXTMENU:
 
     case WM_CUT:
     case WM_COPY:
     case WM_PASTE:
     case WM_CLEAR:
     case WM_UNDO:
       break;