2009-12-14 Evan Stade <estade@chromium.org>
commite1b6ff50fc041eab59732c0a131b6be700a9f873
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Dec 2009 22:45:35 +0000 (14 22:45 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Dec 2009 22:45:35 +0000 (14 22:45 +0000)
tree84ae610fa508739e6c7129475453dfc634d60664
parentfd9f25fd8ea9bf9595cb9c3c211e71b252e64a49
2009-12-14  Evan Stade  <estade@chromium.org>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=32347
        Chromium: Context menu launched by menu key has funky behavior

        Make the context menu's position depend on the selection only when an
        editable field has focus. Also, don't send multiple context menu events
        for a single keypress.

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::keyEvent):
        (WebKit::WebViewImpl::sendContextMenuEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/chromium/ChangeLog
WebKit/chromium/src/WebViewImpl.cpp