Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsImageLoadingContent::Event Class Reference

Struct used to dispatch events. More...

Inheritance diagram for nsImageLoadingContent::Event:
Inheritance graph
[legend]
Collaboration diagram for nsImageLoadingContent::Event:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Event (nsPresContext *aPresContext, nsImageLoadingContent *aContent, const nsAString &aMessage, nsIDocument *aDocument)
 ~Event ()
 PR_STATIC_CALLBACK (void *) Handle(PLEvent *aEvent)
 PR_STATIC_CALLBACK (void) Destroy(PLEvent *aEvent)

Public Attributes

nsCOMPtr< nsPresContextmPresContext
nsRefPtr< nsImageLoadingContentmContent
nsString mMessage
nsCOMPtr< nsIDocumentmDocument
PRCList link
PLHandleEventProc handler
PLDestroyEventProc destructor
voidowner
voidsynchronousResult
PRLocklock
PRCondVarcondVar
PRBool handled

Detailed Description

Struct used to dispatch events.

Definition at line 677 of file nsImageLoadingContent.cpp.


Constructor & Destructor Documentation

nsImageLoadingContent::Event::Event ( nsPresContext aPresContext,
nsImageLoadingContent aContent,
const nsAString &  aMessage,
nsIDocument aDocument 
) [inline]

Definition at line 680 of file nsImageLoadingContent.cpp.

    : mPresContext(aPresContext),
      mContent(aContent),
      mMessage(aMessage),
      mDocument(aDocument)
  {
    MOZ_COUNT_CTOR(nsImageLoadingContent::Event);
    PL_InitEvent(this, aContent, Handle, Destroy);
  }

Here is the call graph for this function:

Definition at line 690 of file nsImageLoadingContent.cpp.

  {
    MOZ_COUNT_DTOR(nsImageLoadingContent::Event);
    mDocument->UnblockOnload();
    mContent->UnpreserveLoadHandlers();
  }

Member Function Documentation


Member Data Documentation

PRCondVar * PLEvent::condVar [inherited]

Definition at line 514 of file nsIEventQueueService.idl.

Definition at line 510 of file nsIEventQueueService.idl.

PRBool PLEvent::handled [inherited]

Definition at line 515 of file nsIEventQueueService.idl.

Definition at line 509 of file nsIEventQueueService.idl.

PRCList PLEvent::link [inherited]

Definition at line 508 of file nsIEventQueueService.idl.

PRLock * PLEvent::lock [inherited]

Definition at line 513 of file nsIEventQueueService.idl.

Definition at line 701 of file nsImageLoadingContent.cpp.

Definition at line 706 of file nsImageLoadingContent.cpp.

Definition at line 702 of file nsImageLoadingContent.cpp.

Definition at line 700 of file nsImageLoadingContent.cpp.

void * PLEvent::owner [inherited]

Definition at line 511 of file nsIEventQueueService.idl.

Definition at line 512 of file nsIEventQueueService.idl.


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