Chromium Code Reviews| OLD | NEW |
|---|---|
| 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" | |
|
cbiesinger
2016/08/12 17:32:24
Ah thanks
| |
| 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 Loading... | |
| 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 |
| OLD | NEW |