| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class SkPaint; | 43 class SkPaint; |
| 44 struct SkPoint; | 44 struct SkPoint; |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 struct CharacterRange; | 48 struct CharacterRange; |
| 49 class FloatPoint; | 49 class FloatPoint; |
| 50 class FloatRect; | 50 class FloatRect; |
| 51 class FontFallbackIterator; | 51 class FontFallbackIterator; |
| 52 class FontData; | 52 class FontData; |
| 53 class FontMetrics; | |
| 54 class FontSelector; | 53 class FontSelector; |
| 55 class GlyphBuffer; | 54 class GlyphBuffer; |
| 56 class TextRun; | 55 class TextRun; |
| 57 struct TextRunPaintInfo; | 56 struct TextRunPaintInfo; |
| 58 | 57 |
| 59 class PLATFORM_EXPORT Font { | 58 class PLATFORM_EXPORT Font { |
| 60 DISALLOW_NEW(); | 59 DISALLOW_NEW(); |
| 61 | 60 |
| 62 public: | 61 public: |
| 63 Font(); | 62 Font(); |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 // advance an additional tab stop. | 242 // advance an additional tab stop. |
| 244 if (distanceToTabStop < fontData->spaceWidth() / 2) | 243 if (distanceToTabStop < fontData->spaceWidth() / 2) |
| 245 distanceToTabStop += baseTabWidth; | 244 distanceToTabStop += baseTabWidth; |
| 246 | 245 |
| 247 return distanceToTabStop; | 246 return distanceToTabStop; |
| 248 } | 247 } |
| 249 | 248 |
| 250 } // namespace blink | 249 } // namespace blink |
| 251 | 250 |
| 252 #endif | 251 #endif |
| OLD | NEW |