зеркало из https://github.com/mozilla/gecko-dev.git
Changed CreateContinuingFrame to take a style context argument to reduce style context creation
This commit is contained in:
Родитель
e03db2b516
Коммит
f8bff82f91
|
@ -348,12 +348,13 @@ public:
|
|||
NS_IMETHOD IsSplittable(SplittableType& aIsSplittable) const = 0;
|
||||
|
||||
/**
|
||||
* Flow member functions. CreateContinuingFrame() is responsible for appending
|
||||
* the continuing frame to the flow.
|
||||
* Flow member functions. CreateContinuingFrame() is responsible for
|
||||
* appending the continuing frame to the flow.
|
||||
*/
|
||||
NS_IMETHOD CreateContinuingFrame(nsIPresContext* aPresContext,
|
||||
nsIFrame* aParent,
|
||||
nsIFrame*& aContinuingFrame) = 0;
|
||||
NS_IMETHOD CreateContinuingFrame(nsIPresContext* aPresContext,
|
||||
nsIFrame* aParent,
|
||||
nsIStyleContext* aStyleContext,
|
||||
nsIFrame*& aContinuingFrame) = 0;
|
||||
|
||||
NS_IMETHOD GetPrevInFlow(nsIFrame*& aPrevInFlow) const = 0;
|
||||
NS_IMETHOD SetPrevInFlow(nsIFrame*) = 0;
|
||||
|
|
|
@ -348,12 +348,13 @@ public:
|
|||
NS_IMETHOD IsSplittable(SplittableType& aIsSplittable) const = 0;
|
||||
|
||||
/**
|
||||
* Flow member functions. CreateContinuingFrame() is responsible for appending
|
||||
* the continuing frame to the flow.
|
||||
* Flow member functions. CreateContinuingFrame() is responsible for
|
||||
* appending the continuing frame to the flow.
|
||||
*/
|
||||
NS_IMETHOD CreateContinuingFrame(nsIPresContext* aPresContext,
|
||||
nsIFrame* aParent,
|
||||
nsIFrame*& aContinuingFrame) = 0;
|
||||
NS_IMETHOD CreateContinuingFrame(nsIPresContext* aPresContext,
|
||||
nsIFrame* aParent,
|
||||
nsIStyleContext* aStyleContext,
|
||||
nsIFrame*& aContinuingFrame) = 0;
|
||||
|
||||
NS_IMETHOD GetPrevInFlow(nsIFrame*& aPrevInFlow) const = 0;
|
||||
NS_IMETHOD SetPrevInFlow(nsIFrame*) = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче