Search completed in 1.04 seconds.
5 results for "nsIURIContentListener":
Document Loading - From Load Start to Finding a Handler - Archive of obsolete content
ArchiveMozillaFirefoxDocument Loading
nsiuricontentlistener implementations we try to find one of these which can handle data of the type we're looking at (that is, it can give us an nsistreamlistener to pump data into).
...service" coords="527,305,839,339" href="#nsiexternalhelperappservice"> <area alt="category manager" coords="683,467,807,527" href="#nscategorymanager"> <area alt="nsdocumentopeninfo" coords="371,71,635,185" href="#nsdocumentopeninfo"> <area alt="necko" coords="721,113,821,157" href="#necko"> <area alt="nsuriloader" coords="23,335,215,455" href="#nsuriloader"> <area coords="227,515,485,575" href="#nsiuricontentlistener"> <area alt="nsdocshell" coords="47,83,203,153" href="#nsdocshell"></map> this block diagram is out of date as of january 2012 with regard to some minor control flow shuffling in nsuriloader.
... nsuriloader::openchannel notifies the nsiuricontentlistener hanging off the window context, if any, of the start of the load; this gives embedders a chance to abort the load if this uri type is something they want to handle in the embedding app.
...And 5 more matches
Embedding Tips
MozillaGeckoEmbedding MozillaFAQHow do I...
alternatively, implement a nsiuricontentlistener as described below.
... implement the nsiuricontentlistener interface, and register it with the appropriate web browser object via the nsiwebbrowser::parenturicontentlistener attribute.
... watch for changes in nsiuricontentlistener::onstarturiopen().
... if necessary you may also implement the nsiuricontentlistener::ispreferred(), returning pr_true to ensure you are always the preferred uri handler and are called no matter what the content type.
Overview of Mozilla embedding APIs
MozillaGeckoEmbedding MozillaAPI overview
contract-id: ns_uri_loader_contractid implemented interfaces: nsiuriloader related interfaces: nsiuricontentlistener nsunknowncontenttypehandler the unknowncontenttypehandler service is the last resort of the uriloader when no other content handler can be located.
...interface definition: nsiuricontentlistener interface status...
nsIWebBrowser
MozillaTechXPCOMReferenceInterfacensIWebBrowser
parenturicontentlistener nsiuricontentlistener uri content listener parent.
... see also nsibasewindow nsicontextmenulistener nsidomwindow nsiembeddingsitewindow nsiinterfacerequestor nsishistorylistener nsitooltiplistener nsiuricontentlistener nsiweakreference nsiwebbrowserchrome nsiwebbrowserchromefocus nsiwebprogresslistener ...
nsIDocShell
MozillaTechXPCOMReferenceInterfacensIDocShell
parenturicontentlistener nsiuricontentlistener uri content listener parent.