• commit-queue@webkit.org's avatar
    [chromium] No modifier flags (shift/ctrl/alt) in drag&drop events on chromium linux · 621df958
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=86236
    
    Patch by Varun Jain <varunjain@google.com> on 2012-05-16
    Reviewed by Tony Chang.
    
    .:
    
    * ManualTests/chromium/modifiers-during-drag-and-drop.html: Added.
    
    Source/WebCore:
    
    ManualTests: ManualTests/chromium/modifiers-during-drag-and-drop.html
    
    * page/DragController.cpp:
    (WebCore::createMouseEvent):
    * platform/DragData.cpp:
    (WebCore):
    (WebCore::DragData::modifierKeyState):
    * platform/DragData.h:
    (DragData):
    * platform/chromium/ChromiumDataObject.cpp:
    (WebCore::ChromiumDataObject::ChromiumDataObject):
    * platform/chromium/ChromiumDataObject.h:
    (WebCore::ChromiumDataObject::modifierKeyState):
    (WebCore::ChromiumDataObject::setModifierKeyState):
    (ChromiumDataObject):
    * platform/chromium/DragDataChromium.cpp:
    (WebCore::DragData::modifierKeyState):
    (WebCore):
    
    Source/WebKit/chromium:
    
    * public/WebView.h:
    (WebView):
    * src/WebViewImpl.cpp:
    (WebKit::webInputEventKeyStateToPlatformEventKeyState):
    (WebKit):
    (WebKit::WebViewImpl::dragTargetDragEnter):
    (WebKit::WebViewImpl::dragTargetDragOver):
    (WebKit::WebViewImpl::dragTargetDrop):
    (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
    * src/WebViewImpl.h:
    (WebViewImpl):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    621df958
WebViewImpl.cpp 121 KB