added args to ReResolveStyle to capture style change info

This commit is contained in:
peterl%netscape.com 1999-03-25 06:32:56 +00:00
parent 92aa94c345
commit ea38299e52
2 changed files with 24 additions and 2 deletions

View File

@ -39,6 +39,7 @@ class nsIReflowCommand;
class nsAutoString;
class nsString;
class nsIFocusTracker;
class nsStyleChangeList;
struct nsPoint;
struct nsRect;
@ -304,9 +305,19 @@ public:
* re-resolution.
* This is also used when style context parentage has to change for
* reflow purposes.
* When used for reflow, changelist and return change may be nsnull
* aLocalChange is provided only for subclasses that override this
* method to capture local change information
*
* When local style context changes, call CaptureStyleChageFor
* to capture change data into change list. Pass local change
* to children as parent change
*/
NS_IMETHOD ReResolveStyleContext(nsIPresContext* aPresContext,
nsIStyleContext* aParentContext) = 0;
nsIStyleContext* aParentContext,
PRInt32 aParentChange,
nsStyleChangeList* aChangeList,
PRInt32* aLocalChange) = 0;
/**
* Accessor functions for geometric parent

View File

@ -39,6 +39,7 @@ class nsIReflowCommand;
class nsAutoString;
class nsString;
class nsIFocusTracker;
class nsStyleChangeList;
struct nsPoint;
struct nsRect;
@ -304,9 +305,19 @@ public:
* re-resolution.
* This is also used when style context parentage has to change for
* reflow purposes.
* When used for reflow, changelist and return change may be nsnull
* aLocalChange is provided only for subclasses that override this
* method to capture local change information
*
* When local style context changes, call CaptureStyleChageFor
* to capture change data into change list. Pass local change
* to children as parent change
*/
NS_IMETHOD ReResolveStyleContext(nsIPresContext* aPresContext,
nsIStyleContext* aParentContext) = 0;
nsIStyleContext* aParentContext,
PRInt32 aParentChange,
nsStyleChangeList* aChangeList,
PRInt32* aLocalChange) = 0;
/**
* Accessor functions for geometric parent