| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2006, 2007, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2006, 2007, 2011 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #ifndef TextRun_h | 24 #ifndef TextRun_h |
| 25 #define TextRun_h | 25 #define TextRun_h |
| 26 | 26 |
| 27 #include "platform/PlatformExport.h" | 27 #include "platform/PlatformExport.h" |
| 28 #include "platform/fonts/Glyph.h" | 28 #include "platform/fonts/Glyph.h" |
| 29 #include "platform/geometry/FloatRect.h" | 29 #include "platform/geometry/FloatRect.h" |
| 30 #include "platform/heap/Heap.h" | 30 #include "platform/heap/Heap.h" |
| 31 #include "platform/text/TabSize.h" | 31 #include "platform/text/TabSize.h" |
| 32 #include "platform/text/TextDirection.h" | 32 #include "platform/text/TextDirection.h" |
| 33 #include "platform/text/TextPath.h" | 33 #include "platform/text/TextPath.h" |
| 34 #include "third_party/skia/include/core/SkRefCnt.h" |
| 34 #include "wtf/Allocator.h" | 35 #include "wtf/Allocator.h" |
| 35 #include "wtf/text/StringView.h" | 36 #include "wtf/text/StringView.h" |
| 36 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 37 | 38 |
| 38 #include <unicode/utf16.h> | 39 #include <unicode/utf16.h> |
| 39 | 40 |
| 40 class SkTextBlob; | 41 class SkTextBlob; |
| 41 | 42 |
| 42 namespace blink { | 43 namespace blink { |
| 43 | 44 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 , from(0) | 243 , from(0) |
| 243 , to(r.length()) | 244 , to(r.length()) |
| 244 , cachedTextBlob(nullptr) | 245 , cachedTextBlob(nullptr) |
| 245 { | 246 { |
| 246 } | 247 } |
| 247 | 248 |
| 248 const TextRun& run; | 249 const TextRun& run; |
| 249 unsigned from; | 250 unsigned from; |
| 250 unsigned to; | 251 unsigned to; |
| 251 FloatRect bounds; | 252 FloatRect bounds; |
| 252 RefPtr<const SkTextBlob>* cachedTextBlob; | 253 sk_sp<const SkTextBlob>* cachedTextBlob; |
| 253 }; | 254 }; |
| 254 | 255 |
| 255 } // namespace blink | 256 } // namespace blink |
| 256 #endif | 257 #endif |
| OLD | NEW |