OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are met: | 5 * modification, are permitted provided that the following conditions are met: |
6 * | 6 * |
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 29 matching lines...) Expand all Loading... |
40 | 40 |
41 // Mac OS X 10.6 SDK defines check() macro that interferes with our check() | 41 // Mac OS X 10.6 SDK defines check() macro that interferes with our check() |
42 // method | 42 // method |
43 #ifdef check | 43 #ifdef check |
44 #undef check | 44 #undef check |
45 #endif | 45 #endif |
46 | 46 |
47 namespace blink { | 47 namespace blink { |
48 | 48 |
49 class CSSFontFace; | 49 class CSSFontFace; |
50 class CSSFontFaceSource; | |
51 class CSSFontSelector; | 50 class CSSFontSelector; |
52 class Dictionary; | |
53 class ExceptionState; | 51 class ExceptionState; |
54 class Font; | 52 class Font; |
55 class FontFaceCache; | 53 class FontFaceCache; |
56 class FontResource; | |
57 class ExecutionContext; | 54 class ExecutionContext; |
58 | 55 |
59 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>; | 56 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>; |
60 | 57 |
61 class FontFaceSet final : public EventTargetWithInlineData, | 58 class FontFaceSet final : public EventTargetWithInlineData, |
62 public Supplement<Document>, | 59 public Supplement<Document>, |
63 public ActiveDOMObject, | 60 public ActiveDOMObject, |
64 public FontFaceSetIterable, | 61 public FontFaceSetIterable, |
65 public FontFace::LoadFontCallback { | 62 public FontFace::LoadFontCallback { |
66 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet); | 63 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet); |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces; | 183 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces; |
187 | 184 |
188 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner; | 185 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner; |
189 | 186 |
190 FontLoadHistogram m_histogram; | 187 FontLoadHistogram m_histogram; |
191 }; | 188 }; |
192 | 189 |
193 } // namespace blink | 190 } // namespace blink |
194 | 191 |
195 #endif // FontFaceSet_h | 192 #endif // FontFaceSet_h |
OLD | NEW |