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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc

Issue 2286403004: [LayoutNG] Initial NGLayoutOpportunityIterator implementation (Closed)
Patch Set: Fix typo Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "core/layout/ng/ng_physical_constraint_space.h" 5 #include "core/layout/ng/ng_physical_constraint_space.h"
6 6
7 #include "core/layout/LayoutBox.h" 7 #include "core/layout/LayoutBox.h"
8 #include "core/style/ComputedStyle.h" 8 #include "core/style/ComputedStyle.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 27 matching lines...) Expand all
38 width_direction_fragmentation_type_( 38 width_direction_fragmentation_type_(
39 other.width_direction_fragmentation_type_), 39 other.width_direction_fragmentation_type_),
40 height_direction_fragmentation_type_( 40 height_direction_fragmentation_type_(
41 other.height_direction_fragmentation_type_) {} 41 other.height_direction_fragmentation_type_) {}
42 42
43 void NGPhysicalConstraintSpace::AddExclusion(const NGExclusion, 43 void NGPhysicalConstraintSpace::AddExclusion(const NGExclusion,
44 unsigned options) { 44 unsigned options) {
45 // TODO(layout-ng): Implement. 45 // TODO(layout-ng): Implement.
46 } 46 }
47 47
48 DoublyLinkedList<const NGExclusion> NGPhysicalConstraintSpace::Exclusions( 48 const DoublyLinkedList<const NGExclusion>*
49 unsigned options) const { 49 NGPhysicalConstraintSpace::Exclusions(unsigned options) const {
50 DoublyLinkedList<const NGExclusion> exclusions; 50 // TODO(layout-ng): Filter based on options? Perhaps layout Opportunities
51 // TODO(layout-ng): Implement. 51 // should filter instead?
52 return exclusions; 52 return &exclusions_;
53 } 53 }
54 54
55 } // namespace blink 55 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698