| Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
|
| index 03c5df925cc01a86574a5b879fab8bd123d98a85..c9260b9287f52fd0ac1a5810c1ee5bc8e4e36f02 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
|
| @@ -6,6 +6,7 @@
|
| #define NGFragmentBase_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/layout/ng/ng_constraint_space.h"
|
| #include "platform/LayoutUnit.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Vector.h"
|
| @@ -16,16 +17,6 @@ class CORE_EXPORT NGFragmentBase : public GarbageCollected<NGFragmentBase> {
|
| public:
|
| enum NGFragmentType { FragmentBox = 0, FragmentText = 1 };
|
|
|
| - // TODO(eae): We might want to re-use WritingMode and Direction from style.
|
| - enum NGWritingMode {
|
| - HorizontalTopBottom = 0,
|
| - VerticalRightLeft = 1,
|
| - VerticalLeftRight = 2,
|
| - SidewaysRightLeft = 3,
|
| - SidewaysLeftRight = 4
|
| - };
|
| - enum NGDirection { LeftToRight = 0, RightToLeft = 1 };
|
| -
|
| NGFragmentType type() const { return static_cast<NGFragmentType>(m_type); }
|
| NGWritingMode writingMode() const {
|
| return static_cast<NGWritingMode>(m_writingMode);
|
|
|