| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class CSSFontSelector; | 39 class CSSFontSelector; |
| 40 class Document; | 40 class Document; |
| 41 class FontDescription; | 41 class FontDescription; |
| 42 class RemoteFontFaceSource; | 42 class RemoteFontFaceSource; |
| 43 class SimpleFontData; | 43 class SimpleFontData; |
| 44 class StyleRuleFontFace; | 44 class StyleRuleFontFace; |
| 45 | 45 |
| 46 class CSSFontFace final : public DummyBase<CSSFontFace> { | 46 class CSSFontFace final { |
| 47 public: | 47 public: |
| 48 struct UnicodeRange; | 48 struct UnicodeRange; |
| 49 class UnicodeRangeSet; | 49 class UnicodeRangeSet; |
| 50 | 50 |
| 51 CSSFontFace(FontFace* fontFace, Vector<UnicodeRange>& ranges) | 51 CSSFontFace(FontFace* fontFace, Vector<UnicodeRange>& ranges) |
| 52 : m_ranges(ranges) | 52 : m_ranges(ranges) |
| 53 , m_segmentedFontFace(nullptr) | 53 , m_segmentedFontFace(nullptr) |
| 54 , m_fontFace(fontFace) | 54 , m_fontFace(fontFace) |
| 55 { | 55 { |
| 56 ASSERT(m_fontFace); | 56 ASSERT(m_fontFace); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 UnicodeRangeSet m_ranges; | 118 UnicodeRangeSet m_ranges; |
| 119 RawPtr<CSSSegmentedFontFace> m_segmentedFontFace; | 119 RawPtr<CSSSegmentedFontFace> m_segmentedFontFace; |
| 120 Deque<OwnPtr<CSSFontFaceSource> > m_sources; | 120 Deque<OwnPtr<CSSFontFaceSource> > m_sources; |
| 121 RawPtr<FontFace> m_fontFace; | 121 RawPtr<FontFace> m_fontFace; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } | 124 } |
| 125 | 125 |
| 126 #endif | 126 #endif |
| OLD | NEW |