• eric@webkit.org's avatar
    2010-04-06 Nicolas Weber <thakis@chromium.org> · ff90543c
    eric@webkit.org authored
            Reviewed by Dimitri Glazkov.
    
            Implement DragImage functionality for chromium/mac.
            https://bugs.webkit.org/show_bug.cgi?id=37069
    
            * page/chromium/DragControllerChromium.cpp:
            (WebCore::DragController::maxDragImageSize):
            Use a max size of 400x400 on OS X.
            * platform/chromium/DragImageChromiumMac.cpp:
            (WebCore::dragImageSize): Implement.
            (WebCore::deleteDragImage): Implement.
            (WebCore::scaleDragImage): Implement.
            (WebCore::dissolveDragImageToFraction): Implement.
            (WebCore::createDragImageFromImage): Implement.
            * platform/chromium/DragImageRef.h:
            Use CGImageRefs as DragImageRef on OS X.
    2010-04-06  Nicolas Weber  <thakis@chromium.org>
    
            Reviewed by Dimitri Glazkov.
    
            Use drag images on OS X as well.
            https://bugs.webkit.org/show_bug.cgi?id=37069
    
            * src/DragClientImpl.cpp:
            (WebKit::DragClientImpl::startDrag):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ff90543c
DragImageChromiumMac.cpp 3.82 KB