Re: Drag&Drop to OSX desktop

Neil Deakin <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
>
> Maybe if I can find how firefox handles drag&drop of content images to
> desktop/explorer/finder I would better understand what's wrong here.
>
> Could anyone point me to the right direction ? (source code ?)
>
> Thanks

Mac specific drag/drop code is:

http://mxr.mozilla.org/mozilla-central/source/widget/cocoa/nsDragService.mm

The clipboard code handles translating things to and from data that 
firefox uses into platform-specific data:

http://mxr.mozilla.org/mozilla-central/source/widget/cocoa/nsClipboard.mm

This is the specific place where files dropped on the desktop or 
elsewhere are handled:

http://mxr.mozilla.org/mozilla-central/source/widget/cocoa/nsChildView.mm#4369
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.