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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_floating_object.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 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 #ifndef NGFloatingObject_h 5 #ifndef NGFloatingObject_h
6 #define NGFloatingObject_h 6 #define NGFloatingObject_h
7 7
8 #include "core/layout/ng/geometry/ng_box_strut.h" 8 #include "core/layout/ng/geometry/ng_box_strut.h"
9 #include "core/layout/ng/geometry/ng_logical_size.h" 9 #include "core/layout/ng/geometry/ng_logical_size.h"
10 #include "core/layout/ng/ng_block_node.h" 10 #include "core/layout/ng/ng_block_node.h"
11 #include "core/layout/ng/ng_constraint_space.h" 11 #include "core/layout/ng/ng_constraint_space.h"
12 #include "core/layout/ng/ng_exclusion.h" 12 #include "core/layout/ng/ng_exclusion.h"
13 #include "core/layout/ng/ng_physical_fragment.h" 13 #include "core/layout/ng/ng_physical_fragment.h"
14 #include "core/style/ComputedStyle.h" 14 #include "core/style/ComputedStyle.h"
15 #include "core/style/ComputedStyleConstants.h" 15 #include "core/style/ComputedStyleConstants.h"
16 #include "wtf/RefPtr.h" 16 #include "platform/wtf/RefPtr.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 // Struct that keeps all information needed to position floats in LayoutNG. 20 // Struct that keeps all information needed to position floats in LayoutNG.
21 struct CORE_EXPORT NGFloatingObject : public RefCounted<NGFloatingObject> { 21 struct CORE_EXPORT NGFloatingObject : public RefCounted<NGFloatingObject> {
22 public: 22 public:
23 static RefPtr<NGFloatingObject> Create(const ComputedStyle& style, 23 static RefPtr<NGFloatingObject> Create(const ComputedStyle& style,
24 NGWritingMode writing_mode, 24 NGWritingMode writing_mode,
25 NGLogicalSize available_size, 25 NGLogicalSize available_size,
26 NGLogicalOffset origin_offset, 26 NGLogicalOffset origin_offset,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 exclusion_type = NGExclusion::kFloatLeft; 90 exclusion_type = NGExclusion::kFloatLeft;
91 if (style.Floating() == EFloat::kRight) 91 if (style.Floating() == EFloat::kRight)
92 exclusion_type = NGExclusion::kFloatRight; 92 exclusion_type = NGExclusion::kFloatRight;
93 clear_type = style.Clear(); 93 clear_type = style.Clear();
94 } 94 }
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // NGFloatingObject_h 99 #endif // NGFloatingObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698