OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 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 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CSSCrossfadeValue_h | 26 #ifndef CSSCrossfadeValue_h |
27 #define CSSCrossfadeValue_h | 27 #define CSSCrossfadeValue_h |
28 | 28 |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
30 #include "core/css/CSSImageGeneratorValue.h" | 30 #include "core/css/CSSImageGeneratorValue.h" |
31 #include "core/css/CSSPrimitiveValue.h" | 31 #include "core/css/CSSPrimitiveValue.h" |
32 #include "core/fetch/ImageResourceContent.h" | 32 #include "core/loader/resource/ImageResourceContent.h" |
33 #include "core/fetch/ImageResourceObserver.h" | 33 #include "core/loader/resource/ImageResourceObserver.h" |
34 #include "platform/graphics/Image.h" | 34 #include "platform/graphics/Image.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class CrossfadeSubimageObserverProxy; | 38 class CrossfadeSubimageObserverProxy; |
39 class LayoutObject; | 39 class LayoutObject; |
40 | 40 |
41 class CORE_EXPORT CSSCrossfadeValue final : public CSSImageGeneratorValue { | 41 class CORE_EXPORT CSSCrossfadeValue final : public CSSImageGeneratorValue { |
42 friend class CrossfadeSubimageObserverProxy; | 42 friend class CrossfadeSubimageObserverProxy; |
43 USING_PRE_FINALIZER(CSSCrossfadeValue, dispose); | 43 USING_PRE_FINALIZER(CSSCrossfadeValue, dispose); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 Member<ImageResourceContent> m_cachedToImage; | 110 Member<ImageResourceContent> m_cachedToImage; |
111 | 111 |
112 CrossfadeSubimageObserverProxy m_crossfadeSubimageObserver; | 112 CrossfadeSubimageObserverProxy m_crossfadeSubimageObserver; |
113 }; | 113 }; |
114 | 114 |
115 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCrossfadeValue, isCrossfadeValue()); | 115 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCrossfadeValue, isCrossfadeValue()); |
116 | 116 |
117 } // namespace blink | 117 } // namespace blink |
118 | 118 |
119 #endif // CSSCrossfadeValue_h | 119 #endif // CSSCrossfadeValue_h |
OLD | NEW |