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

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

Issue 2757603007: Move NG floats utility methods to the separate file (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NGFloatsUtils_h
6 #define NGFloatsUtils_h
7
8 #include "core/layout/ng/geometry/ng_logical_offset.h"
9 #include "core/layout/ng/ng_constraint_space.h"
10 #include "core/layout/ng/ng_floating_object.h"
11
12 namespace blink {
13
14 // Calculates the relative position from {@code from_offset} of the
15 // floating object that is requested to be positioned from {@code origin_point}.
16 CORE_EXPORT NGLogicalOffset PositionFloat(const NGLogicalOffset& origin_point,
17 const NGLogicalOffset& from_offset,
18 NGFloatingObject*,
19 NGConstraintSpace* new_parent_space);
20
21 } // namespace blink
22
23 #endif // NGFloatsUtils_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698