Bug 1159101 part 1 - Alter dependencies among headers of table struct frames. r=roc

This commit is contained in:
Xidorn Quan 2015-04-30 16:24:59 +12:00
parent 15ebf1c04b
commit 36d8493666
7 changed files with 19 additions and 21 deletions

View File

@ -14,6 +14,7 @@
#include <algorithm>
#include "nsTableFrame.h"
#include "nsTableColFrame.h"
#include "nsTableCellFrame.h"
#include "nsLayoutUtils.h"
#include "nsGkAtoms.h"

View File

@ -16,8 +16,7 @@
#include "nsGkAtoms.h"
#include "nsLayoutUtils.h"
#include "nsTArray.h"
class nsTableFrame;
#include "nsTableRowFrame.h"
/**
* nsTableCellFrame

View File

@ -10,13 +10,7 @@
#include "nscore.h"
#include "nsContainerFrame.h"
#include "nsTArray.h"
enum nsTableColType {
eColContent = 0, // there is real col content associated
eColAnonymousCol = 1, // the result of a span on a col
eColAnonymousColGroup = 2, // the result of a span on a col group
eColAnonymousCell = 3 // the result of a cell alone
};
#include "nsTableColGroupFrame.h"
class nsTableColFrame : public nsSplittableFrame {
public:

View File

@ -8,17 +8,10 @@
#include "mozilla/Attributes.h"
#include "nscore.h"
#include "nsContainerFrame.h"
#include "nsTableColFrame.h"
#include "nsTableFrame.h"
class nsTableFrame;
class nsTableColFrame;
enum nsTableColGroupType {
eColGroupContent = 0, // there is real col group content associated
eColGroupAnonymousCol = 1, // the result of a col
eColGroupAnonymousCell = 2 // the result of a cell alone
};
/**
* nsTableColGroupFrame
* data structure to maintain information about a single table cell's frame

View File

@ -12,8 +12,6 @@
#include "nsContainerFrame.h"
#include "nsStyleCoord.h"
#include "nsStyleConsts.h"
#include "nsTableColFrame.h"
#include "nsTableColGroupFrame.h"
#include "nsCellMap.h"
#include "nsGkAtoms.h"
#include "nsDisplayList.h"
@ -100,6 +98,19 @@ private:
/* ============================================================================ */
enum nsTableColGroupType {
eColGroupContent = 0, // there is real col group content associated
eColGroupAnonymousCol = 1, // the result of a col
eColGroupAnonymousCell = 2 // the result of a cell alone
};
enum nsTableColType {
eColContent = 0, // there is real col content associated
eColAnonymousCol = 1, // the result of a span on a col
eColAnonymousColGroup = 2, // the result of a span on a col group
eColAnonymousCell = 3 // the result of a cell alone
};
/**
* nsTableFrame maps the inner portion of a table (everything except captions.)
* Used as a pseudo-frame within nsTableOuterFrame, it may also be used

View File

@ -9,8 +9,8 @@
#include "nscore.h"
#include "nsContainerFrame.h"
#include "nsTablePainter.h"
#include "nsTableRowGroupFrame.h"
class nsTableFrame;
class nsTableCellFrame;
struct nsTableCellReflowState;

View File

@ -12,8 +12,8 @@
#include "nsILineIterator.h"
#include "nsTablePainter.h"
#include "nsTArray.h"
#include "nsTableFrame.h"
class nsTableFrame;
class nsTableRowFrame;
struct nsRowGroupReflowState {