• Robert Sesek's avatar
    [Mac] On Mavericks or later, use NSWorkspace to open download items. · b83907e0
    Robert Sesek authored
    With the NSWorkspaceLaunchWithErrorPresentation option, Finder no longer
    silently fails opening the file.
    
    BUG=32921
    R=avi@chromium.org
    TEST=Download a DMG file. Click the download shelf button to open/mount it. Finder activates the new disk image window as the topmost.
    TEST=Download a file with an unassociated file extension type (e.g.  "test.foobar"). Click the download shelf button to open it. Finder presents the unknown file type dialog.
    
    Review URL: https://codereview.chromium.org/613673003
    
    Cr-Commit-Position: refs/heads/master@{#297239}
    b83907e0
platform_util_mac.mm 6.45 KB