Skip to content
  • zecke's avatar
    WebCore: · 1346fd73
    zecke authored
    2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
    
            Reviewed by Adam.
    
            To fix text selection make the PlatformMouseEvent set the pressed
            button even when moving the mouse.
    
            Add building of the WebKit::DragClient stubs as they are needed to
            make text selection work.
    
            * WebCore.pro:
            * platform/gdk/MouseEventGdk.cpp:
            (WebCore::PlatformMouseEvent::PlatformMouseEvent):
    
    WebKit/gtk:
    2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
    
            Reviewed by Adam.
    
            Fix text selection by setting a DragClient when creating the Page. Now
            that we have a DragClient we can free the Page when WebKitGtkPage gets
            destructed.
    
            * Api/webkitgtkpage.cpp:
            * WebCoreSupport/DragClientGtk.cpp: Added.
            (WebKit::DragClient::willPerformDragDestinationAction):
            (WebKit::DragClient::willPerformDragSourceAction):
            (WebKit::DragClient::actionMaskForDrag):
            (WebKit::DragClient::dragSourceActionMaskForPoint):
            (WebKit::DragClient::startDrag):
            (WebKit::DragClient::createDragImageForLink):
            * WebCoreSupport/DragClientGtk.h: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1346fd73