Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsCSSStyleSheetInner Class Reference

#include <nsCSSStyleSheet.h>

Collaboration diagram for nsCSSStyleSheetInner:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsCSSStyleSheetInner (nsICSSStyleSheet *aParentSheet)
 nsCSSStyleSheetInner (nsCSSStyleSheetInner &aCopy, nsICSSStyleSheet *aParentSheet)
virtual ~nsCSSStyleSheetInner ()
virtual nsCSSStyleSheetInnerCloneFor (nsICSSStyleSheet *aParentSheet)
virtual void AddSheet (nsICSSStyleSheet *aParentSheet)
virtual void RemoveSheet (nsICSSStyleSheet *aParentSheet)
virtual void RebuildNameSpaces ()

Public Attributes

nsAutoVoidArray mSheets
nsCOMPtr< nsIURImSheetURI
nsCOMPtr< nsIURImOriginalSheetURI
nsCOMPtr< nsIURImBaseURI
nsISupportsArraymOrderedRules
nsAutoPtr< nsXMLNameSpaceMapmNameSpaceMap
PRPackedBool mComplete

Detailed Description

Definition at line 61 of file nsCSSStyleSheet.h.


Constructor & Destructor Documentation

Definition at line 1145 of file nsCSSStyleSheet.cpp.

Here is the caller graph for this function:

Definition at line 1191 of file nsCSSStyleSheet.cpp.

Here is the call graph for this function:


Member Function Documentation

void nsCSSStyleSheetInner::AddSheet ( nsICSSStyleSheet aParentSheet) [virtual]

Definition at line 1207 of file nsCSSStyleSheet.cpp.

{
  mSheets.AppendElement(aParentSheet);
}

Here is the caller graph for this function:

Definition at line 1201 of file nsCSSStyleSheet.cpp.

{
  return new nsCSSStyleSheetInner(*this, aParentSheet);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1258 of file nsCSSStyleSheet.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1213 of file nsCSSStyleSheet.cpp.

{
  if (1 == mSheets.Count()) {
    NS_ASSERTION(aParentSheet == (nsICSSStyleSheet*)mSheets.ElementAt(0), "bad parent");
    delete this;
    return;
  }
  if (aParentSheet == (nsICSSStyleSheet*)mSheets.ElementAt(0)) {
    mSheets.RemoveElementAt(0);
    NS_ASSERTION(mSheets.Count(), "no parents");
    if (mOrderedRules) {
      mOrderedRules->EnumerateForwards(SetStyleSheetReference, 
                                       (nsICSSStyleSheet*)mSheets.ElementAt(0));
    }
  }
  else {
    mSheets.RemoveElement(aParentSheet);
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 76 of file nsCSSStyleSheet.h.

Definition at line 79 of file nsCSSStyleSheet.h.

Definition at line 78 of file nsCSSStyleSheet.h.

Definition at line 77 of file nsCSSStyleSheet.h.

Definition at line 75 of file nsCSSStyleSheet.h.

Definition at line 73 of file nsCSSStyleSheet.h.

Definition at line 74 of file nsCSSStyleSheet.h.


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