Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CSSImportsCollectionImpl Class Reference
Inheritance diagram for CSSImportsCollectionImpl:
Inheritance graph
Collaboration diagram for CSSImportsCollectionImpl:
Collaboration graph

List of all members.

Public Member Functions

 CSSImportsCollectionImpl (nsICSSStyleSheet *aStyleSheet)
NS_IMETHOD Item (PRUint32 aIndex, nsIDOMStyleSheet **aReturn)
void DropReference ()
nsIDOMStyleSheet item (in unsigned long index)

Public Attributes

readonly attribute unsigned long length

Protected Member Functions

virtual ~CSSImportsCollectionImpl ()

Protected Attributes


Detailed Description

Definition at line 1053 of file nsCSSStyleSheet.cpp.

Constructor & Destructor Documentation

Definition at line 1072 of file nsCSSStyleSheet.cpp.

  // Not reference counted to avoid circular references.
  // The style sheet will tell us when its going away.
  mStyleSheet = aStyleSheet;

Definition at line 1079 of file nsCSSStyleSheet.cpp.


Member Function Documentation

Definition at line 1064 of file nsCSSStyleSheet.cpp.

Here is the caller graph for this function:

Definition at line 1097 of file nsCSSStyleSheet.cpp.

  if (nsnull != mStyleSheet) {
    PRInt32 count;
    *aLength = (PRUint32)count;
  else {
    *aLength = 0;

  return NS_OK;
nsIDOMStyleSheet nsIDOMStyleSheetList::item ( in unsigned long  index) [inherited]

Definition at line 1112 of file nsCSSStyleSheet.cpp.

  nsresult result = NS_OK;

  *aReturn = nsnull;

  if (mStyleSheet) {
    nsCOMPtr<nsICSSStyleSheet> sheet;

    result = mStyleSheet->GetStyleSheetAt(aIndex, *getter_AddRefs(sheet));
    if (NS_SUCCEEDED(result)) {
      result = CallQueryInterface(sheet, aReturn);
  return result;

Here is the call graph for this function:

Member Data Documentation

readonly attribute unsigned long nsIDOMStyleSheetList::length [inherited]

Definition at line 55 of file nsIDOMStyleSheetList.idl.

Definition at line 1069 of file nsCSSStyleSheet.cpp.

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