Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_fragment.h

Issue 2236933003: [LayoutNG] Add writing mode to NGDerivedConstraintSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_fragment_base.h" 9 #include "core/layout/ng/ng_fragment_base.h"
10 #include "core/layout/ng/ng_constraint_space.h"
10 #include "platform/LayoutUnit.h" 11 #include "platform/LayoutUnit.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "wtf/Vector.h" 13 #include "wtf/Vector.h"
13 14
14 namespace blink { 15 namespace blink {
15 16
16 class CORE_EXPORT NGFragment final : public NGFragmentBase { 17 class CORE_EXPORT NGFragment final : public NGFragmentBase {
17 public: 18 public:
18 NGFragment(LayoutUnit inlineSize, 19 NGFragment(LayoutUnit inlineSize,
19 LayoutUnit blockSize, 20 LayoutUnit blockSize,
(...skipping 18 matching lines...) Expand all
38 m_children.swap(children); 39 m_children.swap(children);
39 } 40 }
40 41
41 private: 42 private:
42 HeapVector<Member<const NGFragmentBase>> m_children; 43 HeapVector<Member<const NGFragmentBase>> m_children;
43 }; 44 };
44 45
45 } // namespace blink 46 } // namespace blink
46 47
47 #endif // NGFragment_h 48 #endif // NGFragment_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698