OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NGFragment_h | 5 #ifndef NGFragment_h |
6 #define NGFragment_h | 6 #define NGFragment_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/layout/ng/ng_physical_fragment.h" |
9 #include "core/layout/ng/ng_writing_mode.h" | 10 #include "core/layout/ng/ng_writing_mode.h" |
10 #include "core/layout/ng/ng_physical_fragment.h" | |
11 #include "platform/LayoutUnit.h" | 11 #include "platform/LayoutUnit.h" |
12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class CORE_EXPORT NGFragment : public GarbageCollected<NGFragment> { | 16 class CORE_EXPORT NGFragment : public GarbageCollected<NGFragment> { |
17 public: | 17 public: |
18 NGWritingMode WritingMode() const { | 18 NGWritingMode WritingMode() const { |
19 return static_cast<NGWritingMode>(writing_mode_); | 19 return static_cast<NGWritingMode>(writing_mode_); |
20 } | 20 } |
(...skipping 29 matching lines...) Expand all Loading... |
50 | 50 |
51 Member<NGPhysicalFragment> physical_fragment_; | 51 Member<NGPhysicalFragment> physical_fragment_; |
52 | 52 |
53 unsigned writing_mode_ : 3; | 53 unsigned writing_mode_ : 3; |
54 unsigned direction_ : 1; | 54 unsigned direction_ : 1; |
55 }; | 55 }; |
56 | 56 |
57 } // namespace blink | 57 } // namespace blink |
58 | 58 |
59 #endif // NGFragment_h | 59 #endif // NGFragment_h |
OLD | NEW |