Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsWatcherWindowEntry Struct Reference
Collaboration diagram for nsWatcherWindowEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsWatcherWindowEntry (nsIDOMWindow *inWindow, nsIWebBrowserChrome *inChrome)
 ~nsWatcherWindowEntry ()
void InsertAfter (nsWatcherWindowEntry *inOlder)
void Unlink ()
void ReferenceSelf ()

Public Attributes

nsIDOMWindowmWindow
nsIWebBrowserChromemChrome
nsWeakPtr mChromeWeak
nsWatcherWindowEntrymYounger
nsWatcherWindowEntrymOlder

Detailed Description

Definition at line 120 of file nsWindowWatcher.cpp.


Constructor & Destructor Documentation

Definition at line 122 of file nsWindowWatcher.cpp.

                                                                              {
#ifdef USEWEAKREFS
    mWindow = do_GetWeakReference(inWindow);
#else
    mWindow = inWindow;
#endif
    nsCOMPtr<nsISupportsWeakReference> supportsweak(do_QueryInterface(inChrome));
    if (supportsweak) {
      supportsweak->GetWeakReference(getter_AddRefs(mChromeWeak));
    } else {
      mChrome = inChrome;
      mChromeWeak = 0;
    }
    ReferenceSelf();
  }

Here is the call graph for this function:

Definition at line 137 of file nsWindowWatcher.cpp.

{}

Member Function Documentation

Definition at line 155 of file nsWindowWatcher.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;
  }
}

Definition at line 176 of file nsWindowWatcher.cpp.

                                         {

  mYounger = this;
  mOlder = this;
}

Here is the caller graph for this function:

Definition at line 169 of file nsWindowWatcher.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 148 of file nsWindowWatcher.cpp.

Definition at line 149 of file nsWindowWatcher.cpp.

Definition at line 151 of file nsWindowWatcher.cpp.

Definition at line 146 of file nsWindowWatcher.cpp.

Definition at line 151 of file nsWindowWatcher.cpp.


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