Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsICSSLoader Class Reference

#include <nsICSSLoader.h>

Inheritance diagram for nsICSSLoader:
Inheritance graph
[legend]
Collaboration diagram for nsICSSLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Init (nsIDocument *aDocument)=0
NS_IMETHOD DropDocumentReference (void)=0
NS_IMETHOD SetCaseSensitive (PRBool aCaseSensitive)=0
NS_IMETHOD SetCompatibilityMode (nsCompatibility aCompatMode)=0
NS_IMETHOD SetPreferredSheet (const nsAString &aTitle)=0
NS_IMETHOD GetPreferredSheet (nsAString &aTitle)=0
NS_IMETHOD GetParserFor (nsICSSStyleSheet *aSheet, nsICSSParser **aParser)=0
NS_IMETHOD RecycleParser (nsICSSParser *aParser)=0
NS_IMETHOD LoadInlineStyle (nsIContent *aElement, nsIUnicharInputStream *aStream, PRUint32 aLineNumber, const nsSubstring &aTitle, const nsSubstring &aMedia, nsIParser *aParserToUnblock, PRBool &aCompleted, nsICSSLoaderObserver *aObserver)=0
NS_IMETHOD LoadStyleLink (nsIContent *aElement, nsIURI *aURL, const nsSubstring &aTitle, const nsSubstring &aMedia, nsIParser *aParserToUnblock, PRBool &aCompleted, nsICSSLoaderObserver *aObserver)=0
NS_IMETHOD LoadChildSheet (nsICSSStyleSheet *aParentSheet, nsIURI *aURL, nsMediaList *aMedia, nsICSSImportRule *aRule)=0
NS_IMETHOD LoadAgentSheet (nsIURI *aURL, nsICSSStyleSheet **aSheet)=0
NS_IMETHOD LoadAgentSheet (nsIURI *aURL, nsICSSLoaderObserver *aObserver)=0
NS_IMETHOD Stop (void)=0
NS_IMETHOD StopLoadingSheet (nsIURI *aURL)=0
NS_IMETHOD GetEnabled (PRBool *aEnabled)=0
 Whether the loader is enabled or not.
NS_IMETHOD SetEnabled (PRBool aEnabled)=0

Detailed Description

Definition at line 64 of file nsICSSLoader.h.


Member Function Documentation

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::GetEnabled ( PRBool aEnabled) [pure virtual]

Whether the loader is enabled or not.

When disabled, processing of new styles is disabled and an attempt to do so will fail with a return code of NS_ERROR_NOT_AVAILABLE. Note that this DOES NOT disable currently loading styles or already processed styles.

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::GetParserFor ( nsICSSStyleSheet aSheet,
nsICSSParser **  aParser 
) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::GetPreferredSheet ( nsAString &  aTitle) [pure virtual]

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::Init ( nsIDocument aDocument) [pure virtual]

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::LoadAgentSheet ( nsIURI aURL,
nsICSSStyleSheet **  aSheet 
) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::LoadAgentSheet ( nsIURI aURL,
nsICSSLoaderObserver aObserver 
) [pure virtual]

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::LoadChildSheet ( nsICSSStyleSheet aParentSheet,
nsIURI aURL,
nsMediaList aMedia,
nsICSSImportRule aRule 
) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::LoadInlineStyle ( nsIContent aElement,
nsIUnicharInputStream aStream,
PRUint32  aLineNumber,
const nsSubstring aTitle,
const nsSubstring aMedia,
nsIParser aParserToUnblock,
PRBool aCompleted,
nsICSSLoaderObserver aObserver 
) [pure virtual]

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::LoadStyleLink ( nsIContent aElement,
nsIURI aURL,
const nsSubstring aTitle,
const nsSubstring aMedia,
nsIParser aParserToUnblock,
PRBool aCompleted,
nsICSSLoaderObserver aObserver 
) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::RecycleParser ( nsICSSParser aParser) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::SetCaseSensitive ( PRBool  aCaseSensitive) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::SetEnabled ( PRBool  aEnabled) [pure virtual]

Implemented in CSSLoaderImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSLoader::SetPreferredSheet ( const nsAString &  aTitle) [pure virtual]

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::Stop ( void  ) [pure virtual]

Implemented in CSSLoaderImpl.

NS_IMETHOD nsICSSLoader::StopLoadingSheet ( nsIURI aURL) [pure virtual]

Implemented in CSSLoaderImpl.


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