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 18 matching lines...) Expand all Loading... |
29 #include "core/css/CSSFontFaceSource.h" | 29 #include "core/css/CSSFontFaceSource.h" |
30 #include "core/css/CSSSegmentedFontFace.h" | 30 #include "core/css/CSSSegmentedFontFace.h" |
31 #include "core/css/FontFace.h" | 31 #include "core/css/FontFace.h" |
32 #include "wtf/Deque.h" | 32 #include "wtf/Deque.h" |
33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
34 #include "wtf/PassRefPtr.h" | 34 #include "wtf/PassRefPtr.h" |
35 #include "wtf/Vector.h" | 35 #include "wtf/Vector.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class CSSFontSelector; | |
40 class Document; | |
41 class FontDescription; | 39 class FontDescription; |
42 class RemoteFontFaceSource; | 40 class RemoteFontFaceSource; |
43 class SimpleFontData; | 41 class SimpleFontData; |
44 class StyleRuleFontFace; | |
45 | 42 |
46 class CSSFontFace FINAL : public NoBaseWillBeGarbageCollectedFinalized<CSSFontFa
ce> { | 43 class CSSFontFace FINAL : public NoBaseWillBeGarbageCollectedFinalized<CSSFontFa
ce> { |
47 public: | 44 public: |
48 struct UnicodeRange; | 45 struct UnicodeRange; |
49 class UnicodeRangeSet; | 46 class UnicodeRangeSet; |
50 | 47 |
51 CSSFontFace(FontFace* fontFace, Vector<UnicodeRange>& ranges) | 48 CSSFontFace(FontFace* fontFace, Vector<UnicodeRange>& ranges) |
52 : m_ranges(ranges) | 49 : m_ranges(ranges) |
53 , m_segmentedFontFace(nullptr) | 50 , m_segmentedFontFace(nullptr) |
54 , m_fontFace(fontFace) | 51 , m_fontFace(fontFace) |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 114 |
118 UnicodeRangeSet m_ranges; | 115 UnicodeRangeSet m_ranges; |
119 RawPtrWillBeMember<CSSSegmentedFontFace> m_segmentedFontFace; | 116 RawPtrWillBeMember<CSSSegmentedFontFace> m_segmentedFontFace; |
120 WillBeHeapDeque<OwnPtrWillBeMember<CSSFontFaceSource> > m_sources; | 117 WillBeHeapDeque<OwnPtrWillBeMember<CSSFontFaceSource> > m_sources; |
121 RawPtrWillBeMember<FontFace> m_fontFace; | 118 RawPtrWillBeMember<FontFace> m_fontFace; |
122 }; | 119 }; |
123 | 120 |
124 } | 121 } |
125 | 122 |
126 #endif | 123 #endif |
OLD | NEW |