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

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

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 NGSpaceUtils_h 5 #ifndef NGSpaceUtils_h
6 #define NGSpaceUtils_h 6 #define NGSpaceUtils_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/LayoutUnit.h" 9 #include "platform/LayoutUnit.h"
10 #include "wtf/Optional.h" 10 #include "platform/wtf/Optional.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ComputedStyle; 14 class ComputedStyle;
15 struct NGExclusions; 15 struct NGExclusions;
16 class NGLayoutInputNode; 16 class NGLayoutInputNode;
17 17
18 // Whether an in-flow child creates a new formatting context. 18 // Whether an in-flow child creates a new formatting context.
19 // 19 //
20 // This will *NOT* check the following cases: 20 // This will *NOT* check the following cases:
(...skipping 12 matching lines...) Expand all
33 33
34 // Whether child's constraint space should shrink to its intrinsic width. 34 // Whether child's constraint space should shrink to its intrinsic width.
35 // This is needed for buttons, select, input, floats and orthogonal children. 35 // This is needed for buttons, select, input, floats and orthogonal children.
36 // See LayoutBox::sizesLogicalWidthToFitContent for the rationale behind this. 36 // See LayoutBox::sizesLogicalWidthToFitContent for the rationale behind this.
37 bool ShouldShrinkToFit(const ComputedStyle& parent_style, 37 bool ShouldShrinkToFit(const ComputedStyle& parent_style,
38 const ComputedStyle& style); 38 const ComputedStyle& style);
39 39
40 } // namespace blink 40 } // namespace blink
41 41
42 #endif // NGSpaceUtils_h 42 #endif // NGSpaceUtils_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698