Skip to content
  • andersca's avatar
    Reviewed by Adam. · 9a44838d
    andersca authored
            <rdar://problem/5224749> Show a zoom/unzoom cursor for resizable image documents
            
            * WebCore.xcodeproj/project.pbxproj:
            Install the zoom cursors.
            
            * loader/ImageDocument.cpp:
            (WebCore::ImageDocument::resizeImageToFit):
            Set the cursor to the zoom in cursor.
            
            (WebCore::ImageDocument::restoreImageSize):
            If the image fits, reset the cursor. Otherwise, set it to the zoom in cursor.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9a44838d
project.pbxproj 1.41 MiB