| 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 ShapeResultSpacing_h | 5 #ifndef ShapeResultSpacing_h |
| 6 #define ShapeResultSpacing_h | 6 #define ShapeResultSpacing_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/fonts/Character.h" | 9 #include "platform/text/Character.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class FontDescription; | 13 class FontDescription; |
| 14 class ShapeResult; | 14 class ShapeResult; |
| 15 class TextRun; | 15 class TextRun; |
| 16 | 16 |
| 17 class PLATFORM_EXPORT ShapeResultSpacing final { | 17 class PLATFORM_EXPORT ShapeResultSpacing final { |
| 18 public: | 18 public: |
| 19 ShapeResultSpacing(const TextRun&, const FontDescription&); | 19 ShapeResultSpacing(const TextRun&, const FontDescription&); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 if (!hasExpansion()) | 111 if (!hasExpansion()) |
| 112 return spacing; | 112 return spacing; |
| 113 } | 113 } |
| 114 | 114 |
| 115 return spacing + nextExpansion(); | 115 return spacing + nextExpansion(); |
| 116 } | 116 } |
| 117 | 117 |
| 118 } // namespace blink | 118 } // namespace blink |
| 119 | 119 |
| 120 #endif | 120 #endif |
| OLD | NEW |