Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutTableCol.h |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCol.h b/third_party/WebKit/Source/core/layout/LayoutTableCol.h |
| index a028b3b73ac374db8fd72ff02c5fd5b908f956bd..be41e8b012f7236424eacb221647675be7a4ed7c 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCol.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCol.h |
| @@ -76,11 +76,12 @@ public: |
| // For CSS table columns or colgroups, this is always 1. |
| unsigned span() const { return m_span; } |
| - bool isTableColumnGroupWithColumnChildren() { return firstChild(); } |
| + bool isTableColumnGroupWithColumnChildren() const { return firstChild(); } |
| bool isTableColumn() const { return style()->display() == TABLE_COLUMN; } |
| bool isTableColumnGroup() const { return style()->display() == TABLE_COLUMN_GROUP; } |
| LayoutTableCol* enclosingColumnGroup() const; |
| + LayoutTableCol* lastColumnInGroup() const; |
| // Returns the next column or column-group. |
| LayoutTableCol* nextColumn() const; |
| @@ -92,6 +93,10 @@ public: |
| const char* name() const override { return "LayoutTableCol"; } |
| + LayoutRect positionByCellSpan() const; |
|
Xianzhu
2016/03/09 18:40:56
Add document for this function.
atotic1
2016/03/15 16:50:48
Done.
|
| + |
| + Vector<unsigned> getEffectiveColumnIndexes() const; |
| + |
| private: |
| LayoutObjectChildList* virtualChildren() override { return children(); } |
| const LayoutObjectChildList* virtualChildren() const override { return children(); } |