Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsWindowInfo Struct Reference

#include <nsAppShellWindowEnumerator.h>

Collaboration diagram for nsWindowInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsWindowInfo (nsIXULWindow *inWindow, PRInt32 inTimeStamp)
 ~nsWindowInfo ()
PRBool TypeEquals (const nsAString &aType)
void InsertAfter (nsWindowInfo *inOlder, nsWindowInfo *inHigher)
void Unlink (PRBool inAge, PRBool inZ)
void ReferenceSelf (PRBool inAge, PRBool inZ)

Public Attributes

nsCOMPtr< nsIXULWindowmWindow
PRInt32 mTimeStamp
PRUint32 mZLevel
nsWindowInfomYounger
nsWindowInfomOlder
nsWindowInfomLower
nsWindowInfomHigher

Detailed Description

Definition at line 50 of file nsAppShellWindowEnumerator.h.


Constructor & Destructor Documentation

nsWindowInfo::nsWindowInfo ( nsIXULWindow inWindow,
PRInt32  inTimeStamp 
)

Definition at line 130 of file nsAppShellWindowEnumerator.cpp.

Here is the call graph for this function:

Definition at line 136 of file nsAppShellWindowEnumerator.cpp.

{
}

Member Function Documentation

void nsWindowInfo::InsertAfter ( nsWindowInfo inOlder,
nsWindowInfo inHigher 
)

Definition at line 151 of file nsAppShellWindowEnumerator.cpp.

                                                                             {
  if (inOlder) {
    mOlder = inOlder;
    mYounger = inOlder->mYounger;
    mOlder->mYounger = this;
    if (mOlder->mOlder == mOlder)
      mOlder->mOlder = this;
    mYounger->mOlder = this;
    if (mYounger->mYounger == mYounger)
      mYounger->mYounger = this;
  }
  if (inHigher) {
    mHigher = inHigher;
    mLower = inHigher->mLower;
    mHigher->mLower = this;
    if (mHigher->mHigher == mHigher)
      mHigher->mHigher = this;
    mLower->mHigher = this;
    if (mLower->mLower == mLower)
      mLower->mLower = this;
  }
}

Here is the caller graph for this function:

Definition at line 189 of file nsAppShellWindowEnumerator.cpp.

                                                         {

  if (inAge) {
    mYounger = this;
    mOlder = this;
  }
  if (inZ) {
    mLower = this;
    mHigher = this;
  }
}

Here is the caller graph for this function:

PRBool nsWindowInfo::TypeEquals ( const nsAString &  aType)

Definition at line 142 of file nsAppShellWindowEnumerator.cpp.

{ 
  nsAutoString rtnString;
  GetWindowType(mWindow, rtnString);
  return rtnString == aType;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void nsWindowInfo::Unlink ( PRBool  inAge,
PRBool  inZ 
)

Definition at line 175 of file nsAppShellWindowEnumerator.cpp.

                                                  {

  if (inAge) {
    mOlder->mYounger = mYounger;
    mYounger->mOlder = mOlder;
  }
  if (inZ) {
    mLower->mHigher = mHigher;
    mHigher->mLower = mLower;
  }
  ReferenceSelf( inAge, inZ );
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 62 of file nsAppShellWindowEnumerator.h.

Definition at line 62 of file nsAppShellWindowEnumerator.h.

Definition at line 60 of file nsAppShellWindowEnumerator.h.

Definition at line 56 of file nsAppShellWindowEnumerator.h.

Definition at line 55 of file nsAppShellWindowEnumerator.h.

Definition at line 60 of file nsAppShellWindowEnumerator.h.

Definition at line 57 of file nsAppShellWindowEnumerator.h.


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