Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIViewObserver Class Reference

#include <nsIViewObserver.h>

Inheritance diagram for nsIViewObserver:
Inheritance graph
[legend]
Collaboration diagram for nsIViewObserver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Paint (nsIView *aView, nsIRenderingContext &aRenderingContext, const nsRect &aDirtyRect)=0
NS_IMETHOD HandleEvent (nsIView *aView, nsGUIEvent *aEvent, nsEventStatus *aEventStatus, PRBool aForceHandle, PRBool &aHandled)=0
NS_IMETHOD ResizeReflow (nsIView *aView, nscoord aWidth, nscoord aHeight)=0
 NS_IMETHOD_ (PRBool) IsVisible()=0
 Hack to find out if the view observer is itself visible, in lieu of having the view trees linked.
 NS_IMETHOD_ (void) WillPaint()=0
 Notify the observer that we're about to start painting.

Detailed Description

Definition at line 52 of file nsIViewObserver.h.


Member Function Documentation

NS_IMETHOD nsIViewObserver::HandleEvent ( nsIView aView,
nsGUIEvent aEvent,
nsEventStatus aEventStatus,
PRBool  aForceHandle,
PRBool aHandled 
) [pure virtual]

Implemented in PresShell.

nsIViewObserver::NS_IMETHOD_ ( PRBool  ) [pure virtual]

Hack to find out if the view observer is itself visible, in lieu of having the view trees linked.

Implemented in PresShell.

nsIViewObserver::NS_IMETHOD_ ( void  ) [pure virtual]

Notify the observer that we're about to start painting.

This gives the observer a chance to make some last-minute invalidates and geometry changes if it wants to.

Implemented in PresShell.

NS_IMETHOD nsIViewObserver::Paint ( nsIView aView,
nsIRenderingContext aRenderingContext,
const nsRect aDirtyRect 
) [pure virtual]

Implemented in PresShell.

NS_IMETHOD nsIViewObserver::ResizeReflow ( nsIView aView,
nscoord  aWidth,
nscoord  aHeight 
) [pure virtual]

Implemented in PresShell.

Here is the caller graph for this function:


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