2010-12-09 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2010 02:45:53 +0000 (02:45 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2010 02:45:53 +0000 (02:45 +0000)
commitb2113000c79e6a1d51af64eb7b5e5a919f3354e5
tree0c4a5979f22d4bd1a7d8ea7cb3130c75bf71c819
parent28baa6a66304bd16805543c992b579b6e4f3e7e9
2010-12-09  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Brady Eidson.

        WebKit2: Control-click doesn't invoke context menu
        https://bugs.webkit.org/show_bug.cgi?id=50793
        <rdar://problem/8664800>

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::isContextClick): New helper function - on Mac, not only right clicks
        but also control-left-clicks are context clicks.
        (WebKit::handleMouseEvent): Use above.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/WebProcess/WebPage/WebPage.cpp