Back to index

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

Provides a way for a client of an nsIViewManager to learn about composite events. More...

#include <nsICompositeListener.h>

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

List of all members.

Public Member Functions

NS_IMETHOD WillRefreshRegion (nsIViewManager *aViewManager, nsIView *aView, nsIRenderingContext *aContext, nsIRegion *aRegion, PRUint32 aUpdateFlags)=0
 Notification before a view is refreshed.
NS_IMETHOD DidRefreshRegion (nsIViewManager *aViewManager, nsIView *aView, nsIRenderingContext *aContext, nsIRegion *aRegion, PRUint32 aUpdateFlags)=0
 Notification after a view was refreshed.
NS_IMETHOD WillRefreshRect (nsIViewManager *aViewManager, nsIView *aView, nsIRenderingContext *aContext, const nsRect *aRect, PRUint32 aUpdateFlags)=0
 Notification before a view is refreshed.
NS_IMETHOD DidRefreshRect (nsIViewManager *aViewManager, nsIView *aView, nsIRenderingContext *aContext, const nsRect *aRect, PRUint32 aUpdateFlags)=0
 Notification after a view was refreshed.

Detailed Description

Provides a way for a client of an nsIViewManager to learn about composite events.

Definition at line 61 of file nsICompositeListener.h.


Member Function Documentation

NS_IMETHOD nsICompositeListener::DidRefreshRect ( nsIViewManager aViewManager,
nsIView aView,
nsIRenderingContext aContext,
const nsRect aRect,
PRUint32  aUpdateFlags 
) [pure virtual]

Notification after a view was refreshed.

Parameters:
aViewManagerview manager that "owns" the view. The view does NOT hold a reference to the view manager
aViewview that was refreshed.
aContextrendering context that was used during the refresh.
aRectrect region of the view that was refreshed.
aUpdateFlagssee bottom of nsIViewManager.h for description
Returns:
The result of the notification, NS_OK if no errors

Implemented in PresShellViewEventListener.

NS_IMETHOD nsICompositeListener::DidRefreshRegion ( nsIViewManager aViewManager,
nsIView aView,
nsIRenderingContext aContext,
nsIRegion aRegion,
PRUint32  aUpdateFlags 
) [pure virtual]

Notification after a view was refreshed.

Parameters:
aViewManagerview manager that "owns" the view. The view does NOT hold a reference to the view manager
aViewview that was refreshed.
aContextrendering context that was used during the refresh.
aRegionregion of the view that was refreshed, IN DEVICE COORDINATES
aUpdateFlagssee bottom of nsIViewManager.h for description
Returns:
The result of the notification, NS_OK if no errors

Implemented in PresShellViewEventListener.

NS_IMETHOD nsICompositeListener::WillRefreshRect ( nsIViewManager aViewManager,
nsIView aView,
nsIRenderingContext aContext,
const nsRect aRect,
PRUint32  aUpdateFlags 
) [pure virtual]

Notification before a view is refreshed.

Parameters:
aViewManagerview manager that "owns" the view. The view does NOT hold a reference to the view manager
aViewview to be refreshed.
aContextrendering context to be used during the refresh.
aRectrect region of the view to be refreshed.
aUpdateFlagssee bottom of nsIViewManager.h for description
Returns:
The result of the notification, NS_OK if no errors

Implemented in PresShellViewEventListener.

NS_IMETHOD nsICompositeListener::WillRefreshRegion ( nsIViewManager aViewManager,
nsIView aView,
nsIRenderingContext aContext,
nsIRegion aRegion,
PRUint32  aUpdateFlags 
) [pure virtual]

Notification before a view is refreshed.

Parameters:
aViewManagerview manager that "owns" the view. The view does NOT hold a reference to the view manager
aViewview to be refreshed.
aContextrendering context to be used during the refresh.
aRegionregion of the view to be refreshed, IN DEVICE COORDINATES
aUpdateFlagssee bottom of nsIViewManager.h for description
Returns:
The result of the notification, NS_OK if no errors

Implemented in PresShellViewEventListener.


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