Bug 836957 part 1: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .h files. r=mats

This commit is contained in:
Daniel Holbert 2013-02-04 08:17:11 -08:00
parent 1a7b142652
commit ba0e8e72f0
19 changed files with 0 additions and 44 deletions

View File

@ -82,8 +82,6 @@ public:
~(nsIFrame::eMathML | nsIFrame::eExcludesIgnorableWhitespace));
}
virtual int GetSkipSides() const { return 0; }
NS_IMETHOD
AppendFrames(ChildListID aListID,
nsFrameList& aFrameList);

View File

@ -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();

View File

@ -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;

View File

@ -84,8 +84,6 @@ protected:
nsMathMLmfencedFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmfencedFrame();
virtual int GetSkipSides() const { return 0; }
nsMathMLChar* mOpenChar;
nsMathMLChar* mCloseChar;
nsMathMLChar* mSeparatorsChar;

View File

@ -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,

View File

@ -31,8 +31,6 @@ protected:
nsMathMLmmultiscriptsFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmmultiscriptsFrame();
virtual int GetSkipSides() const { return 0; }
private:
nscoord mSubScriptShift;
nscoord mSupScriptShift;

View File

@ -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;

View File

@ -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;

View File

@ -36,8 +36,6 @@ protected:
nsMathMLmphantomFrame(nsStyleContext* aContext)
: nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmphantomFrame();
virtual int GetSkipSides() const { return 0; }
};
#endif /* nsMathMLmphantomFrame_h___ */

View File

@ -51,8 +51,6 @@ protected:
nsMathMLmrootFrame(nsStyleContext* aContext);
virtual ~nsMathMLmrootFrame();
virtual int GetSkipSides() const { return 0; }
nsMathMLChar mSqrChar;
nsRect mBarRect;
};

View File

@ -36,8 +36,6 @@ public:
protected:
nsMathMLmrowFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmrowFrame();
virtual int GetSkipSides() const { return 0; }
};
#endif /* nsMathMLmrowFrame_h___ */

View File

@ -39,8 +39,6 @@ public:
protected:
nsMathMLmspaceFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmspaceFrame();
virtual int GetSkipSides() const { return 0; }
virtual nsresult
MeasureForWidth(nsRenderingContext& aRenderingContext,

View File

@ -44,8 +44,6 @@ public:
protected:
nsMathMLmstyleFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmstyleFrame();
virtual int GetSkipSides() const { return 0; }
};
#endif /* nsMathMLmstyleFrame_h___ */

View File

@ -39,8 +39,6 @@ public:
protected:
nsMathMLmsubFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmsubFrame();
virtual int GetSkipSides() const { return 0; }
};
#endif /* nsMathMLmsubFrame_h___ */

View File

@ -40,8 +40,6 @@ public:
protected:
nsMathMLmsubsupFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmsubsupFrame();
virtual int GetSkipSides() const { return 0; }
};
#endif /* nsMathMLmsubsupFrame_h___ */

View File

@ -39,8 +39,6 @@ public:
protected:
nsMathMLmsupFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmsupFrame();
virtual int GetSkipSides() const { return 0; }
};
#endif /* nsMathMLmsupFrame_h___ */

View File

@ -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___ */

View File

@ -49,8 +49,6 @@ public:
protected:
nsMathMLmunderoverFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
virtual ~nsMathMLmunderoverFrame();
virtual int GetSkipSides() const { return 0; }
};

View File

@ -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