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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #ifndef FontFaceSet_h | 26 #ifndef FontFaceSet_h |
27 #define FontFaceSet_h | 27 #define FontFaceSet_h |
28 | 28 |
29 #include "bindings/v8/ScriptPromise.h" | 29 #include "bindings/v8/ScriptPromise.h" |
30 #include "core/css/FontFace.h" | 30 #include "core/css/FontFace.h" |
31 #include "core/dom/ActiveDOMObject.h" | 31 #include "core/dom/ActiveDOMObject.h" |
32 #include "core/events/EventListener.h" | 32 #include "core/events/EventListener.h" |
33 #include "core/events/EventTarget.h" | 33 #include "core/events/EventTarget.h" |
34 #include "core/events/ThreadLocalEventNames.h" | 34 #include "core/events/ThreadLocalEventNames.h" |
35 #include "core/platform/RefCountedSupplement.h" | |
36 #include "platform/AsyncMethodRunner.h" | 35 #include "platform/AsyncMethodRunner.h" |
| 36 #include "platform/RefCountedSupplement.h" |
37 #include "wtf/PassRefPtr.h" | 37 #include "wtf/PassRefPtr.h" |
38 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
39 #include "wtf/Vector.h" | 39 #include "wtf/Vector.h" |
40 | 40 |
41 // Mac OS X 10.6 SDK defines check() macro that interfares with our check() meth
od | 41 // Mac OS X 10.6 SDK defines check() macro that interfares with our check() meth
od |
42 #ifdef check | 42 #ifdef check |
43 #undef check | 43 #undef check |
44 #endif | 44 #endif |
45 | 45 |
46 namespace WebCore { | 46 namespace WebCore { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 FontFaceArray m_failedFonts; | 131 FontFaceArray m_failedFonts; |
132 | 132 |
133 AsyncMethodRunner<FontFaceSet> m_asyncRunner; | 133 AsyncMethodRunner<FontFaceSet> m_asyncRunner; |
134 | 134 |
135 FontLoadHistogram m_histogram; | 135 FontLoadHistogram m_histogram; |
136 }; | 136 }; |
137 | 137 |
138 } // namespace WebCore | 138 } // namespace WebCore |
139 | 139 |
140 #endif // FontFaceSet_h | 140 #endif // FontFaceSet_h |
OLD | NEW |