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

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

Issue 2721613003: [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: Don't export NGBoxStrut for now Created 3 years, 9 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 NGLayoutOpportunityIterator_h 5 #ifndef NGLayoutOpportunityIterator_h
6 #define NGLayoutOpportunityIterator_h 6 #define NGLayoutOpportunityIterator_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_constraint_space.h" 9 #include "core/layout/ng/ng_constraint_space.h"
10 #include "core/layout/ng/ng_layout_opportunity_tree_node.h" 10 #include "core/layout/ng/ng_layout_opportunity_tree_node.h"
11 #include "core/layout/ng/ng_units.h"
12 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
13 #include "wtf/Optional.h" 12 #include "wtf/Optional.h"
14 #include "wtf/Vector.h" 13 #include "wtf/Vector.h"
15 14
16 namespace blink { 15 namespace blink {
17 16
18 typedef NGLogicalRect NGLayoutOpportunity; 17 typedef NGLogicalRect NGLayoutOpportunity;
19 typedef Vector<NGLayoutOpportunity> NGLayoutOpportunities; 18 typedef Vector<NGLayoutOpportunity> NGLayoutOpportunities;
20 19
21 class CORE_EXPORT NGLayoutOpportunityIterator final { 20 class CORE_EXPORT NGLayoutOpportunityIterator final {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 Persistent<NGConstraintSpace> constraint_space_; 54 Persistent<NGConstraintSpace> constraint_space_;
56 55
57 NGLayoutOpportunities opportunities_; 56 NGLayoutOpportunities opportunities_;
58 NGLayoutOpportunities::const_iterator opportunity_iter_; 57 NGLayoutOpportunities::const_iterator opportunity_iter_;
59 Persistent<NGLayoutOpportunityTreeNode> opportunity_tree_root_; 58 Persistent<NGLayoutOpportunityTreeNode> opportunity_tree_root_;
60 }; 59 };
61 60
62 } // namespace blink 61 } // namespace blink
63 62
64 #endif // NGLayoutOpportunityIterator_h 63 #endif // NGLayoutOpportunityIterator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698