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

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

Issue 2328243002: [LayoutNG] Remove unnecessary #inclusions of LayoutObject and derived class definitions. (Closed)
Patch Set: 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_layout_opportunity_iterator.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"
8 #include "core/style/ComputedStyle.h"
9
10 namespace blink { 7 namespace blink {
11 8
12 NGPhysicalConstraintSpace::NGPhysicalConstraintSpace( 9 NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
13 NGPhysicalSize container_size) 10 NGPhysicalSize container_size)
14 : container_size_(container_size), 11 : container_size_(container_size),
15 fixed_width_(0), 12 fixed_width_(0),
16 fixed_height_(0), 13 fixed_height_(0),
17 width_direction_triggers_scrollbar_(0), 14 width_direction_triggers_scrollbar_(0),
18 height_direction_triggers_scrollbar_(0), 15 height_direction_triggers_scrollbar_(0),
19 width_direction_fragmentation_type_(FragmentNone), 16 width_direction_fragmentation_type_(FragmentNone),
(...skipping 26 matching lines...) Expand all
46 } 43 }
47 44
48 const Vector<NGExclusion>& NGPhysicalConstraintSpace::Exclusions( 45 const Vector<NGExclusion>& NGPhysicalConstraintSpace::Exclusions(
49 unsigned options) const { 46 unsigned options) const {
50 // TODO(layout-ng): Filter based on options? Perhaps layout Opportunities 47 // TODO(layout-ng): Filter based on options? Perhaps layout Opportunities
51 // should filter instead? 48 // should filter instead?
52 return exclusions_; 49 return exclusions_;
53 } 50 }
54 51
55 } // namespace blink 52 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698