Bug 837013: Removed virtual keyword from methods that are unnecessarily virtual in nsTableFrame. r=dholbert

This commit is contained in:
Glenna Buford 2013-02-03 13:54:07 -08:00
Родитель 24e7f9e214
Коммит 8da0448134
1 изменённых файлов: 25 добавлений и 25 удалений

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

@ -349,13 +349,13 @@ public:
#endif
/** return the width of the column at aColIndex */
virtual int32_t GetColumnWidth(int32_t aColIndex);
int32_t GetColumnWidth(int32_t aColIndex);
/** helper to get the cell spacing X style value */
virtual nscoord GetCellSpacingX();
nscoord GetCellSpacingX();
/** helper to get the cell spacing Y style value */
virtual nscoord GetCellSpacingY();
nscoord GetCellSpacingY();
virtual nscoord GetBaseline() const;
/** return the row span of a cell, taking into account row span magic at the bottom
@ -369,10 +369,10 @@ public:
* @return the row span, correcting for row spans that extend beyond the bottom
* of the table.
*/
virtual int32_t GetEffectiveRowSpan(int32_t aStartRowIndex,
const nsTableCellFrame& aCell) const;
virtual int32_t GetEffectiveRowSpan(const nsTableCellFrame& aCell,
nsCellMap* aCellMap = nullptr);
int32_t GetEffectiveRowSpan(int32_t aStartRowIndex,
const nsTableCellFrame& aCell) const;
int32_t GetEffectiveRowSpan(const nsTableCellFrame& aCell,
nsCellMap* aCellMap = nullptr);
/** return the col span of a cell, taking into account col span magic at the edge
* of a table.
@ -382,8 +382,8 @@ public:
* @return the col span, correcting for col spans that extend beyond the edge
* of the table.
*/
virtual int32_t GetEffectiveColSpan(const nsTableCellFrame& aCell,
nsCellMap* aCellMap = nullptr) const;
int32_t GetEffectiveColSpan(const nsTableCellFrame& aCell,
nsCellMap* aCellMap = nullptr) const;
/** indicate whether the row has more than one cell that either originates
* or is spanned from the rows above
@ -427,15 +427,15 @@ public:
void DidResizeColumns();
virtual void AppendCell(nsTableCellFrame& aCellFrame,
int32_t aRowIndex);
void AppendCell(nsTableCellFrame& aCellFrame,
int32_t aRowIndex);
virtual void InsertCells(nsTArray<nsTableCellFrame*>& aCellFrames,
int32_t aRowIndex,
int32_t aColIndexBefore);
void InsertCells(nsTArray<nsTableCellFrame*>& aCellFrames,
int32_t aRowIndex,
int32_t aColIndexBefore);
virtual void RemoveCell(nsTableCellFrame* aCellFrame,
int32_t aRowIndex);
void RemoveCell(nsTableCellFrame* aCellFrame,
int32_t aRowIndex);
void AppendRows(nsTableRowGroupFrame* aRowGroupFrame,
int32_t aRowIndex,
@ -446,9 +446,9 @@ public:
int32_t aRowIndex,
bool aConsiderSpans);
virtual void RemoveRows(nsTableRowFrame& aFirstRowFrame,
int32_t aNumRowsToRemove,
bool aConsiderSpans);
void RemoveRows(nsTableRowFrame& aFirstRowFrame,
int32_t aNumRowsToRemove,
bool aConsiderSpans);
/** Insert multiple rowgroups into the table cellmap handling
* @param aRowGroups - iterator that iterates over the rowgroups to insert
@ -458,10 +458,10 @@ public:
void InsertColGroups(int32_t aStartColIndex,
const nsFrameList::Slice& aColgroups);
virtual void RemoveCol(nsTableColGroupFrame* aColGroupFrame,
int32_t aColIndex,
bool aRemoveFromCache,
bool aRemoveFromCellMap);
void RemoveCol(nsTableColGroupFrame* aColGroupFrame,
int32_t aColIndex,
bool aRemoveFromCache,
bool aRemoveFromCellMap);
bool ColumnHasCellSpacingBefore(int32_t aColIndex) const;
@ -657,7 +657,7 @@ public:
/** Get the cell map for this table frame. It is not always mCellMap.
* Only the firstInFlow has a legit cell map
*/
virtual nsTableCellMap* GetCellMap() const;
nsTableCellMap* GetCellMap() const;
/** Iterate over the row groups and adjust the row indices of all rows
* whose index is >= aRowIndex.
@ -719,7 +719,7 @@ public: /* ----- Cell Map public methods ----- */
int32_t GetIndexOfLastRealCol();
/** returns true if table-layout:auto */
virtual bool IsAutoLayout();
bool IsAutoLayout();
public: