Re: Drag&Drop to OSX desktop
Christian Pernot <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
Le 06/12/2012 14:23, Neil Deakin a écrit : >> >> 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 > Thank you, the last link is interesting, as it is the one that should call my function/callback. How could I watch message from NS_ERROR and PR_LOG in this code? Do I have to compile firefox with specific options ? _______________________________________________ dev-tech-xul mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xul