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

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

Issue 2623423003: [LayoutNG] Put #includes in alphabetical order. (Closed)
Patch Set: Created 3 years, 11 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 #include "core/layout/ng/ng_block_node.h" 5 #include "core/layout/ng/ng_block_node.h"
6 6
7 #include "core/layout/LayoutBlockFlow.h" 7 #include "core/layout/LayoutBlockFlow.h"
8 #include "core/layout/api/LineLayoutAPIShim.h" 8 #include "core/layout/api/LineLayoutAPIShim.h"
9 #include "core/layout/line/InlineIterator.h" 9 #include "core/layout/line/InlineIterator.h"
10 #include "core/layout/ng/layout_ng_block_flow.h" 10 #include "core/layout/ng/layout_ng_block_flow.h"
11 #include "core/layout/ng/ng_block_layout_algorithm.h" 11 #include "core/layout/ng/ng_block_layout_algorithm.h"
12 #include "core/layout/ng/ng_box_fragment.h"
13 #include "core/layout/ng/ng_constraint_space.h"
12 #include "core/layout/ng/ng_constraint_space_builder.h" 14 #include "core/layout/ng/ng_constraint_space_builder.h"
13 #include "core/layout/ng/ng_constraint_space.h"
14 #include "core/layout/ng/ng_fragment_builder.h" 15 #include "core/layout/ng/ng_fragment_builder.h"
15 #include "core/layout/ng/ng_inline_node.h" 16 #include "core/layout/ng/ng_inline_node.h"
16 #include "core/layout/ng/ng_layout_coordinator.h" 17 #include "core/layout/ng/ng_layout_coordinator.h"
17 #include "core/layout/ng/ng_length_utils.h" 18 #include "core/layout/ng/ng_length_utils.h"
18 #include "core/layout/ng/ng_writing_mode.h" 19 #include "core/layout/ng/ng_writing_mode.h"
19 #include "core/layout/ng/ng_box_fragment.h"
20 #include "platform/RuntimeEnabledFeatures.h" 20 #include "platform/RuntimeEnabledFeatures.h"
21 21
22 namespace blink { 22 namespace blink {
23 23
24 NGBlockNode::NGBlockNode(LayoutObject* layout_object) 24 NGBlockNode::NGBlockNode(LayoutObject* layout_object)
25 : NGLayoutInputNode(NGLayoutInputNodeType::kLegacyBlock), 25 : NGLayoutInputNode(NGLayoutInputNodeType::kLegacyBlock),
26 layout_box_(toLayoutBox(layout_object)) { 26 layout_box_(toLayoutBox(layout_object)) {
27 DCHECK(layout_box_); 27 DCHECK(layout_box_);
28 } 28 }
29 29
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 return builder.ToBoxFragment(); 336 return builder.ToBoxFragment();
337 } 337 }
338 338
339 void NGBlockNode::UseOldOutOfFlowPositioning() { 339 void NGBlockNode::UseOldOutOfFlowPositioning() {
340 DCHECK(layout_box_); 340 DCHECK(layout_box_);
341 DCHECK(layout_box_->isOutOfFlowPositioned()); 341 DCHECK(layout_box_->isOutOfFlowPositioned());
342 layout_box_->containingBlock()->insertPositionedObject(layout_box_); 342 layout_box_->containingBlock()->insertPositionedObject(layout_box_);
343 } 343 }
344 344
345 } // namespace blink 345 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698