| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef CSSImageSetValue_h | 26 #ifndef CSSImageSetValue_h |
| 27 #define CSSImageSetValue_h | 27 #define CSSImageSetValue_h |
| 28 | 28 |
| 29 #include "core/css/CSSValueList.h" | 29 #include "core/css/CSSValueList.h" |
| 30 #include "platform/CrossOriginAttributeValue.h" | 30 #include "platform/CrossOriginAttributeValue.h" |
| 31 #include "platform/weborigin/Referrer.h" | 31 #include "platform/weborigin/Referrer.h" |
| 32 #include "wtf/Allocator.h" | 32 #include "platform/wtf/Allocator.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class Document; | 36 class Document; |
| 37 class StyleImage; | 37 class StyleImage; |
| 38 | 38 |
| 39 class CSSImageSetValue : public CSSValueList { | 39 class CSSImageSetValue : public CSSValueList { |
| 40 public: | 40 public: |
| 41 static CSSImageSetValue* Create() { return new CSSImageSetValue(); } | 41 static CSSImageSetValue* Create() { return new CSSImageSetValue(); } |
| 42 ~CSSImageSetValue(); | 42 ~CSSImageSetValue(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 Member<StyleImage> cached_image_; | 79 Member<StyleImage> cached_image_; |
| 80 | 80 |
| 81 Vector<ImageWithScale> images_in_set_; | 81 Vector<ImageWithScale> images_in_set_; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageSetValue, IsImageSetValue()); | 84 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageSetValue, IsImageSetValue()); |
| 85 | 85 |
| 86 } // namespace blink | 86 } // namespace blink |
| 87 | 87 |
| 88 #endif // CSSImageSetValue_h | 88 #endif // CSSImageSetValue_h |
| OLD | NEW |