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

Side by Side Diff: Source/platform/text/TextRun.h

Issue 644913009: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « Source/platform/heap/Heap.h ('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 /* 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 19 matching lines...) Expand all
30 #include "platform/heap/Heap.h" 30 #include "platform/heap/Heap.h"
31 #include "platform/text/TextDirection.h" 31 #include "platform/text/TextDirection.h"
32 #include "platform/text/TextPath.h" 32 #include "platform/text/TextPath.h"
33 #include "wtf/RefCounted.h" 33 #include "wtf/RefCounted.h"
34 #include "wtf/text/WTFString.h" 34 #include "wtf/text/WTFString.h"
35 35
36 class SkTextBlob; 36 class SkTextBlob;
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class FloatPoint;
41 class Font;
42 class GraphicsContext;
43 class GlyphBuffer;
44 class SimpleFontData;
45 struct GlyphData;
46 struct SimpleShaper;
47
48 class PLATFORM_EXPORT TextRun { 40 class PLATFORM_EXPORT TextRun {
49 WTF_MAKE_FAST_ALLOCATED; 41 WTF_MAKE_FAST_ALLOCATED;
50 public: 42 public:
51 enum ExpansionBehaviorFlags { 43 enum ExpansionBehaviorFlags {
52 ForbidTrailingExpansion = 0 << 0, 44 ForbidTrailingExpansion = 0 << 0,
53 AllowTrailingExpansion = 1 << 0, 45 AllowTrailingExpansion = 1 << 0,
54 ForbidLeadingExpansion = 0 << 1, 46 ForbidLeadingExpansion = 0 << 1,
55 AllowLeadingExpansion = 1 << 1, 47 AllowLeadingExpansion = 1 << 1,
56 }; 48 };
57 49
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 260
269 const TextRun& run; 261 const TextRun& run;
270 int from; 262 int from;
271 int to; 263 int to;
272 FloatRect bounds; 264 FloatRect bounds;
273 RefPtr<const SkTextBlob>* cachedTextBlob; 265 RefPtr<const SkTextBlob>* cachedTextBlob;
274 }; 266 };
275 267
276 } 268 }
277 #endif 269 #endif
OLDNEW
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698