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

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

Issue 2264273003: [layoutng] LayoutOpportunities() only needs a bool, not an enum (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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_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_constraint_space.h" 5 #include "core/layout/ng/ng_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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 64 }
65 65
66 DoublyLinkedList<const NGExclusion> NGConstraintSpace::exclusions( 66 DoublyLinkedList<const NGExclusion> NGConstraintSpace::exclusions(
67 unsigned options) const { 67 unsigned options) const {
68 DoublyLinkedList<const NGExclusion> exclusions; 68 DoublyLinkedList<const NGExclusion> exclusions;
69 // TODO(eae): Implement. 69 // TODO(eae): Implement.
70 return exclusions; 70 return exclusions;
71 } 71 }
72 72
73 NGLayoutOpportunityIterator NGConstraintSpace::layoutOpportunities( 73 NGLayoutOpportunityIterator NGConstraintSpace::layoutOpportunities(
74 unsigned clear, NGExclusionFlowType avoid) const { 74 unsigned clear,
75 bool for_inline_or_bfc) const {
75 // TODO(eae): Implement. 76 // TODO(eae): Implement.
76 NGLayoutOpportunityIterator iterator(this, clear, avoid); 77 NGLayoutOpportunityIterator iterator(this, clear, for_inline_or_bfc);
77 return iterator; 78 return iterator;
78 } 79 }
79 80
80 } // namespace blink 81 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698