Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h |
index e4ee8b10f3913507521537fbd0dcd8870f8f8604..5c322ab1f21883126bc59982e8cd0d34254331de 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h |
@@ -40,6 +40,16 @@ enum NGExclusionFlowType { |
ExcludeInlineBoth |
}; |
+enum NGWritingMode { |
+ HorizontalTopBottom = 0, |
+ VerticalRightLeft = 1, |
+ VerticalLeftRight = 2, |
+ SidewaysRightLeft = 3, |
+ SidewaysLeftRight = 4 |
+}; |
+ |
+enum NGDirection { LeftToRight = 0, RightToLeft = 1 }; |
+ |
class NGExclusion { |
public: |
NGExclusion(); |
@@ -130,25 +140,6 @@ class CORE_EXPORT NGLayoutOpportunityIterator final { |
NGExclusionFlowType m_avoid; |
}; |
-class CORE_EXPORT NGDerivedConstraintSpace final : NGConstraintSpace { |
- public: |
- ~NGDerivedConstraintSpace(); |
- |
- LayoutUnit inlineOffset() const; |
- LayoutUnit blockOffset() const; |
- LayoutUnit inlineSize() const; |
- LayoutUnit blockSize() const; |
- |
- private: |
- NGDerivedConstraintSpace(); |
- |
- LayoutUnit m_inlineOffset; |
- LayoutUnit m_blockOffset; |
- LayoutUnit m_inlineSize; |
- LayoutUnit m_blockSize; |
- NGConstraintSpace* m_original; |
-}; |
- |
} // namespace blink |
#endif // NGConstraintSpace_h |