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, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008 Holger Hans Peter Freyther | 6 * Copyright (C) 2008 Holger Hans Peter Freyther |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "platform/text/TabSize.h" | 34 #include "platform/text/TabSize.h" |
35 #include "platform/text/TextDirection.h" | 35 #include "platform/text/TextDirection.h" |
36 #include "wtf/Allocator.h" | 36 #include "wtf/Allocator.h" |
37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
38 #include "wtf/HashSet.h" | 38 #include "wtf/HashSet.h" |
39 #include "wtf/MathExtras.h" | 39 #include "wtf/MathExtras.h" |
40 #include "wtf/text/CharacterNames.h" | 40 #include "wtf/text/CharacterNames.h" |
41 | 41 |
42 class SkCanvas; | 42 class SkCanvas; |
43 class SkPaint; | 43 class SkPaint; |
44 struct SkPoint; | |
45 | 44 |
46 namespace blink { | 45 namespace blink { |
47 | 46 |
48 struct CharacterRange; | 47 struct CharacterRange; |
49 class FloatPoint; | 48 class FloatPoint; |
50 class FloatRect; | 49 class FloatRect; |
51 class FontFallbackIterator; | 50 class FontFallbackIterator; |
52 class FontData; | 51 class FontData; |
53 class FontSelector; | 52 class FontSelector; |
54 class GlyphBuffer; | 53 class GlyphBuffer; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // advance an additional tab stop. | 246 // advance an additional tab stop. |
248 if (distanceToTabStop < fontData->spaceWidth() / 2) | 247 if (distanceToTabStop < fontData->spaceWidth() / 2) |
249 distanceToTabStop += baseTabWidth; | 248 distanceToTabStop += baseTabWidth; |
250 | 249 |
251 return distanceToTabStop; | 250 return distanceToTabStop; |
252 } | 251 } |
253 | 252 |
254 } // namespace blink | 253 } // namespace blink |
255 | 254 |
256 #endif | 255 #endif |
OLD | NEW |