added methods to process style changes on frames

This commit is contained in:
peterl%netscape.com 1999-03-25 06:42:07 +00:00
Родитель 97f6c80040
Коммит 91c548b4eb
2 изменённых файлов: 20 добавлений и 2 удалений

Просмотреть файл

@ -29,6 +29,7 @@ class nsIStyleContext;
struct nsTableList;
struct nsStyleDisplay;
class nsIPresShell;
class nsVoidArray;
class nsCSSFrameConstructor : public nsIStyleFrameConstruction {
public:
@ -93,7 +94,10 @@ public:
NS_IMETHOD StyleRuleRemoved(nsIPresContext* aPresContext,
nsIStyleSheet* aStyleSheet,
nsIStyleRule* aStyleRule);
NS_IMETHOD ProcessRestyledFrames(nsStyleChangeList& aRestyleArray,
nsIPresContext* aPresContext);
// Notification that we were unable to render a replaced element.
NS_IMETHOD CantRenderReplacedElement(nsIPresContext* aPresContext,
nsIFrame* aFrame);
@ -382,6 +386,11 @@ protected:
nsresult RecreateFramesForContent(nsIPresContext* aPresContext,
nsIContent* aContent);
PRInt32 FindRestyledFramesBelow(nsIFrame* aFrame,
nsIPresContext* aPresContext,
PRInt32 aParentHint,
nsStyleChangeList& aResults);
nsresult RecreateFramesOnAttributeChange(nsIPresContext* aPresContext,
nsIContent* aContent,
nsIAtom* aAttribute);

Просмотреть файл

@ -29,6 +29,7 @@ class nsIStyleContext;
struct nsTableList;
struct nsStyleDisplay;
class nsIPresShell;
class nsVoidArray;
class nsCSSFrameConstructor : public nsIStyleFrameConstruction {
public:
@ -93,7 +94,10 @@ public:
NS_IMETHOD StyleRuleRemoved(nsIPresContext* aPresContext,
nsIStyleSheet* aStyleSheet,
nsIStyleRule* aStyleRule);
NS_IMETHOD ProcessRestyledFrames(nsStyleChangeList& aRestyleArray,
nsIPresContext* aPresContext);
// Notification that we were unable to render a replaced element.
NS_IMETHOD CantRenderReplacedElement(nsIPresContext* aPresContext,
nsIFrame* aFrame);
@ -382,6 +386,11 @@ protected:
nsresult RecreateFramesForContent(nsIPresContext* aPresContext,
nsIContent* aContent);
PRInt32 FindRestyledFramesBelow(nsIFrame* aFrame,
nsIPresContext* aPresContext,
PRInt32 aParentHint,
nsStyleChangeList& aResults);
nsresult RecreateFramesOnAttributeChange(nsIPresContext* aPresContext,
nsIContent* aContent,
nsIAtom* aAttribute);