| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CSSStyleImageValue_h | 5 #ifndef CSSStyleImageValue_h |
| 6 #define CSSStyleImageValue_h | 6 #define CSSStyleImageValue_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/css/CSSImageValue.h" | 9 #include "core/css/CSSImageValue.h" |
| 10 #include "core/css/CSSImageValue.h" | 10 #include "core/css/CSSImageValue.h" |
| 11 #include "core/css/cssom/CSSResourceValue.h" | 11 #include "core/css/cssom/CSSResourceValue.h" |
| 12 #include "core/css/cssom/CSSStyleValue.h" | 12 #include "core/css/cssom/CSSStyleValue.h" |
| 13 #include "core/fetch/ImageResourceContent.h" | |
| 14 #include "core/html/canvas/CanvasImageSource.h" | 13 #include "core/html/canvas/CanvasImageSource.h" |
| 15 #include "core/imagebitmap/ImageBitmapSource.h" | 14 #include "core/imagebitmap/ImageBitmapSource.h" |
| 15 #include "core/loader/resource/ImageResourceContent.h" |
| 16 #include "core/style/StyleImage.h" | 16 #include "core/style/StyleImage.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 | 19 |
| 20 class CORE_EXPORT CSSStyleImageValue : public CSSResourceValue, | 20 class CORE_EXPORT CSSStyleImageValue : public CSSResourceValue, |
| 21 public CanvasImageSource { | 21 public CanvasImageSource { |
| 22 WTF_MAKE_NONCOPYABLE(CSSStyleImageValue); | 22 WTF_MAKE_NONCOPYABLE(CSSStyleImageValue); |
| 23 DEFINE_WRAPPERTYPEINFO(); | 23 DEFINE_WRAPPERTYPEINFO(); |
| 24 | 24 |
| 25 public: | 25 public: |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 PassRefPtr<Image> image() const; | 74 PassRefPtr<Image> image() const; |
| 75 | 75 |
| 76 Member<const CSSImageValue> m_imageValue; | 76 Member<const CSSImageValue> m_imageValue; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace blink | 79 } // namespace blink |
| 80 | 80 |
| 81 #endif // CSSResourceValue_h | 81 #endif // CSSResourceValue_h |
| OLD | NEW |