| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "platform/fonts/SegmentedFontData.h" | 31 #include "platform/fonts/SegmentedFontData.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 34 #include "wtf/HashMap.h" | 34 #include "wtf/HashMap.h" |
| 35 #include "wtf/ListHashSet.h" | 35 #include "wtf/ListHashSet.h" |
| 36 #include "wtf/Vector.h" | 36 #include "wtf/Vector.h" |
| 37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class CSSFontFace; | |
| 42 class CSSFontSelector; | 41 class CSSFontSelector; |
| 43 class FontData; | 42 class FontData; |
| 44 class FontDescription; | 43 class FontDescription; |
| 45 class FontFace; | 44 class FontFace; |
| 46 class SegmentedFontData; | 45 class SegmentedFontData; |
| 47 | 46 |
| 48 class CSSSegmentedFontFace final | 47 class CSSSegmentedFontFace final |
| 49 : public GarbageCollectedFinalized<CSSSegmentedFontFace> { | 48 : public GarbageCollectedFinalized<CSSSegmentedFontFace> { |
| 50 public: | 49 public: |
| 51 static CSSSegmentedFontFace* create(CSSFontSelector* selector, | 50 static CSSSegmentedFontFace* create(CSSFontSelector* selector, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // CSSSegmentedFontFace in the style's font family list, so this is not | 100 // CSSSegmentedFontFace in the style's font family list, so this is not |
| 102 // counted if this font is used as a fallback font. Also, this may be double | 101 // counted if this font is used as a fallback font. Also, this may be double |
| 103 // counted by style recalcs. | 102 // counted by style recalcs. |
| 104 // TODO(ksakamoto): Revisit the necessity of this. crbug.com/613500 | 103 // TODO(ksakamoto): Revisit the necessity of this. crbug.com/613500 |
| 105 size_t m_approximateCharacterCount; | 104 size_t m_approximateCharacterCount; |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 } // namespace blink | 107 } // namespace blink |
| 109 | 108 |
| 110 #endif // CSSSegmentedFontFace_h | 109 #endif // CSSSegmentedFontFace_h |
| OLD | NEW |