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

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

Issue 2242893003: [LayoutNG] Switch NGConstraintSpace to NGLogicalSize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 4 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_length_utils_test.cc ('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 #ifndef NGUnits_h 5 #ifndef NGUnits_h
6 #define NGUnits_h 6 #define NGUnits_h
7 7
8 #include "platform/LayoutUnit.h"
9
8 namespace blink { 10 namespace blink {
9 11
10 class LayoutUnit; 12 class LayoutUnit;
11 13
12 struct NGLogicalSize { 14 struct NGLogicalSize {
13 LayoutUnit inlineSize; 15 LayoutUnit inlineSize;
14 LayoutUnit blockSize; 16 LayoutUnit blockSize;
15 }; 17 };
16 18
17 struct NGLogicalOffset { 19 struct NGLogicalOffset {
(...skipping 19 matching lines...) Expand all
37 struct NGPixelSnappedPhysicalRect { 39 struct NGPixelSnappedPhysicalRect {
38 int top; 40 int top;
39 int left; 41 int left;
40 int width; 42 int width;
41 int height; 43 int height;
42 }; 44 };
43 45
44 } // namespace blink 46 } // namespace blink
45 47
46 #endif // NGUnits_h 48 #endif // NGUnits_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698