Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIconChannel Class Reference

#include <nsIconChannel.h>

Inheritance diagram for nsIconChannel:

nsIStreamListener nsIChannel nsIChannel nsIStreamListener nsIChannel nsIStreamListener nsIChannel nsIChannel nsIStreamListener nsIChannel

List of all members.


Detailed Description

This class is the gnome implementation of nsIconChannel. It basically asks gtk/gnome for an icon, saves it as a tmp icon, and creates a new channel for that file to which all calls will be proxied.

This class is the gnome implementation of nsIconChannel. It basically asks qt for an icon, and creates a new channel for that file to which all calls will be proxied.

Definition at line 55 of file nsIconChannel.h.


Public Member Functions

void asyncOpen (in nsIStreamListener aListener, in nsISupports aContext)
void cancel (in nsresult aStatus)
nsresult Init (nsIURI *uri)
nsresult Init (nsIURI *uri)
nsresult Init (nsIURI *uri)
nsresult Init (nsIURI *uri)
boolean isPending ()
 NS_HIDDEN_ (nsresult) Init(nsIURI *aURI)
 NS_HIDDEN_ (nsresult) Init(nsIURI *aURI)
void onDataAvailable (in nsIRequest aRequest, in nsISupports aContext, in nsIInputStream aInputStream, in unsigned long aOffset, in unsigned long aCount)
void onStartRequest (in nsIRequest aRequest, in nsISupports aContext)
void onStopRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode)
nsIInputStream open ()
void resume ()
void suspend ()
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Static Public Member Functions

static void Shutdown ()

Public Attributes

attribute ACString contentCharset
attribute long contentLength
attribute ACString contentType
const unsigned long INHIBIT_CACHING = 1 << 7
const unsigned long INHIBIT_PERSISTENT_CACHING = 1 << 8
const unsigned long LOAD_ANONYMOUS = 1 << 14
const unsigned long LOAD_BACKGROUND = 1 << 0
const unsigned long LOAD_BYPASS_CACHE = 1 << 9
const unsigned long LOAD_CALL_CONTENT_SNIFFERS = 1 << 21
const unsigned long LOAD_DOCUMENT_URI = 1 << 16
const unsigned long LOAD_FROM_CACHE = 1 << 10
const unsigned long LOAD_INITIAL_DOCUMENT_URI = 1 << 19
const unsigned long LOAD_NORMAL = 0
const unsigned long LOAD_REPLACE = 1 << 18
const unsigned long LOAD_RETARGETED_DOCUMENT_URI = 1 << 17
const unsigned long LOAD_TARGETED = 1 << 20
attribute nsLoadFlags loadFlags
attribute nsILoadGroup loadGroup
readonly attribute AUTF8String name
attribute nsIInterfaceRequestor notificationCallbacks
attribute nsIURI originalURI
attribute nsISupports owner
readonly attribute nsISupports securityInfo
readonly attribute nsresult status
readonly attribute nsIURI URI
const unsigned long VALIDATE_ALWAYS = 1 << 11
const unsigned long VALIDATE_NEVER = 1 << 12
const unsigned long VALIDATE_ONCE_PER_SESSION = 1 << 13

Protected Member Functions

nsresult ExtractIconInfoFromUrl (nsIFile **aLocalFile, PRUint32 *aDesiredImageSize, nsCString &aContentType, nsCString &aFileExtension)
nsresult ExtractIconInfoFromUrl (nsIFile **aLocalFile, PRUint32 *aDesiredImageSize, nsACString &aContentType, nsACString &aFileExtension)
nsresult ExtractIconInfoFromUrl (nsIFile **aLocalFile, PRUint32 *aDesiredImageSize, nsACString &aContentType, nsACString &aFileExtension)
nsresult ExtractIconInfoFromUrl (nsIFile **aLocalFile, PRUint32 *aDesiredImageSize, nsACString &aContentType, nsACString &aFileExtension)
nsresult GetHIconFromFile (HICON *hIcon)
nsresult GetStockHIcon (nsIMozIconURI *aIconURI, HICON *hIcon)
nsresult MakeInputStream (nsIInputStream **_retval, PRBool nonBlocking)
nsresult MakeInputStream (nsIInputStream **_retval, PRBool nonBlocking)
nsresult MakeInputStream (nsIInputStream **_retval, PRBool nonBlocking)
nsresult MakeInputStream (nsIInputStream **_retval, PRBool nonBlocking)

Protected Attributes

nsCOMPtr< nsIInterfaceRequestormCallbacks
PRInt32 mContentLength
nsCOMPtr< nsIStreamListenermListener
nsCOMPtr< nsILoadGroupmLoadGroup
nsCOMPtr< nsIURI > mOriginalURI
nsCOMPtr< nsISupportsmOwner
nsCOMPtr< nsIInputStreamPumpmPump
nsCOMPtr< nsIURI > mUrl

Private Member Functions

nsresult InitWithGnome (nsIMozIconURI *aURI)

Private Attributes

nsCOMPtr< nsIChannelmRealChannel

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index