Commit c4063b8d authored by thakis@chromium.org's avatar thakis@chromium.org

Mac: Unregress right-clicks for CoreAnimation plugins.

BUG=52593,51748
TEST=Right-click a youtube video. Should get context menu.

Review URL: http://codereview.chromium.org/3117035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57058 0039d316-1c4b-4281-b951-d872f2087c98
parent ca8f66e3
......@@ -237,6 +237,15 @@ static CVReturn DrawOneAcceleratedPluginCallback(
[self drawView];
}
- (void)rightMouseDown:(NSEvent*)event {
// The NSResponder documentation: "Note: The NSView implementation of this
// method does not pass the message up the responder chain, it handles it
// directly."
// That's bad, we want the next responder (RWHVMac) to handle this event to
// dispatch it to the renderer.
[[self nextResponder] rightMouseDown:event];
}
- (void)globalFrameDidChange:(NSNotification*)notification {
CGLLockContext(cglContext_);
[glContext_ update];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment