зеркало из https://github.com/mozilla/gecko-dev.git
added methods to process style changes on frames
This commit is contained in:
Родитель
97f6c80040
Коммит
91c548b4eb
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче