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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.h

Issue 1847853004: Move Character.h from platform/fonts to platform/text (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698