mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 836957 part 1: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .h files. r=mats
This commit is contained in:
parent
1a7b142652
commit
ba0e8e72f0
@ -82,8 +82,6 @@ public:
|
||||
~(nsIFrame::eMathML | nsIFrame::eExcludesIgnorableWhitespace));
|
||||
}
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
NS_IMETHOD
|
||||
AppendFrames(ChildListID aListID,
|
||||
nsFrameList& aFrameList);
|
||||
|
@ -72,8 +72,6 @@ protected:
|
||||
nsMathMLTokenFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLTokenFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
// hook to perform MathML-specific actions depending on the tag
|
||||
virtual void ProcessTextData();
|
||||
|
||||
|
@ -75,8 +75,6 @@ protected:
|
||||
nsMathMLmactionFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmactionFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
private:
|
||||
int32_t mActionType;
|
||||
int32_t mChildCount;
|
||||
|
@ -84,8 +84,6 @@ protected:
|
||||
nsMathMLmfencedFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmfencedFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
nsMathMLChar* mOpenChar;
|
||||
nsMathMLChar* mCloseChar;
|
||||
nsMathMLChar* mSeparatorsChar;
|
||||
|
@ -96,8 +96,6 @@ protected:
|
||||
nsMathMLmfracFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmfracFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
nsresult PlaceInternal(nsRenderingContext& aRenderingContext,
|
||||
bool aPlaceOrigin,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
|
@ -31,8 +31,6 @@ protected:
|
||||
nsMathMLmmultiscriptsFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmmultiscriptsFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
private:
|
||||
nscoord mSubScriptShift;
|
||||
nscoord mSupScriptShift;
|
||||
|
@ -66,8 +66,6 @@ protected:
|
||||
nsMathMLmoFrame(nsStyleContext* aContext) : nsMathMLTokenFrame(aContext) {}
|
||||
virtual ~nsMathMLmoFrame();
|
||||
|
||||
virtual int GetSkipSides() const MOZ_OVERRIDE { return 0; }
|
||||
|
||||
nsMathMLChar mMathMLChar; // Here is the MathMLChar that will deal with the operator.
|
||||
nsOperatorFlags mFlags;
|
||||
float mMinSize;
|
||||
|
@ -43,8 +43,6 @@ protected:
|
||||
nsMathMLmpaddedFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmpaddedFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
virtual nsresult
|
||||
MeasureForWidth(nsRenderingContext& aRenderingContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize) MOZ_OVERRIDE;
|
||||
|
@ -36,8 +36,6 @@ protected:
|
||||
nsMathMLmphantomFrame(nsStyleContext* aContext)
|
||||
: nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmphantomFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
#endif /* nsMathMLmphantomFrame_h___ */
|
||||
|
@ -51,8 +51,6 @@ protected:
|
||||
nsMathMLmrootFrame(nsStyleContext* aContext);
|
||||
virtual ~nsMathMLmrootFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
nsMathMLChar mSqrChar;
|
||||
nsRect mBarRect;
|
||||
};
|
||||
|
@ -36,8 +36,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmrowFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmrowFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
#endif /* nsMathMLmrowFrame_h___ */
|
||||
|
@ -39,8 +39,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmspaceFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmspaceFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
|
||||
virtual nsresult
|
||||
MeasureForWidth(nsRenderingContext& aRenderingContext,
|
||||
|
@ -44,8 +44,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmstyleFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmstyleFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
#endif /* nsMathMLmstyleFrame_h___ */
|
||||
|
@ -39,8 +39,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmsubFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmsubFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
#endif /* nsMathMLmsubFrame_h___ */
|
||||
|
@ -40,8 +40,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmsubsupFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmsubsupFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
#endif /* nsMathMLmsubsupFrame_h___ */
|
||||
|
@ -39,8 +39,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmsupFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmsupFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
#endif /* nsMathMLmsupFrame_h___ */
|
||||
|
@ -256,8 +256,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmtdInnerFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {}
|
||||
virtual ~nsMathMLmtdInnerFrame();
|
||||
|
||||
virtual int GetSkipSides() const MOZ_OVERRIDE { return 0; }
|
||||
}; // class nsMathMLmtdInnerFrame
|
||||
|
||||
#endif /* nsMathMLmtableFrame_h___ */
|
||||
|
@ -49,8 +49,6 @@ public:
|
||||
protected:
|
||||
nsMathMLmunderoverFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
||||
virtual ~nsMathMLmunderoverFrame();
|
||||
|
||||
virtual int GetSkipSides() const { return 0; }
|
||||
};
|
||||
|
||||
|
||||
|
@ -218,11 +218,6 @@ protected:
|
||||
void InitChildReflowState(nsPresContext& aPresContext,
|
||||
nsHTMLReflowState& aReflowState);
|
||||
|
||||
/** Always returns 0, since the outer table frame has no border of its own
|
||||
* The inner table frame can answer this question in a meaningful way.
|
||||
* @see nsContainerFrame::GetSkipSides */
|
||||
virtual int GetSkipSides() const;
|
||||
|
||||
uint8_t GetCaptionSide(); // NS_STYLE_CAPTION_SIDE_* or NO_SIDE
|
||||
|
||||
bool HasSideCaption() {
|
||||
@ -290,7 +285,4 @@ private:
|
||||
nsFrameList mCaptionFrames;
|
||||
};
|
||||
|
||||
inline int nsTableOuterFrame::GetSkipSides() const
|
||||
{ return 0; }
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user