hi

ive overriden nsIExternalHelperAppService in my windows application
(DoContent & ApplyDecodingForExtension as NS_ERROR_NOT_IMPLEMENTED).

when navigating to an exe, i never get a callback in my
helperappservice implementation

in fact, when im debugging, i see that the DoContent in uriloader/
exthandler/nsExternalHelperAppService.cpp getting invoked. (i do
however get a CreateChromeWindow() callback to open the file-save xul
dialog.)

what do i need to do to get my callback?

thanks
amitabh

this is my class:

//webbrowserchrome.h
class CWebBrowserChrome : public nsIWebBrowserChrome,
                                        public nsIWebProgressListener,
                                        public nsIEmbeddingSiteWindow,
                                        public nsIInterfaceRequestor,
                                        public nsIURIContentListener,
                                        public nsITooltipListener,
                                        public nsSupportsWeakReference,
                                        public nsIWindowCreator,
                                        public nsIClipboardDragDropHooks,
                                        public nsIExternalHelperAppService

//in webbrowserchrome.cpp
NS_INTERFACE_MAP_BEGIN(CWebBrowserChrome)
   NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIWebBrowserChrome)
   NS_INTERFACE_MAP_ENTRY(nsIInterfaceRequestor)
   NS_INTERFACE_MAP_ENTRY(nsIWebBrowserChrome)
   NS_INTERFACE_MAP_ENTRY(nsIEmbeddingSiteWindow)
   NS_INTERFACE_MAP_ENTRY(nsIWebProgressListener)
   NS_INTERFACE_MAP_ENTRY(nsIURIContentListener)
   NS_INTERFACE_MAP_ENTRY(nsITooltipListener)
   NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
   NS_INTERFACE_MAP_ENTRY(nsIWindowCreator)
   NS_INTERFACE_MAP_ENTRY(nsIClipboardDragDropHooks)
   NS_INTERFACE_MAP_ENTRY(nsIExternalHelperAppService)
NS_INTERFACE_MAP_END

_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to