OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ImageBitmap_h | 5 #ifndef ImageBitmap_h |
6 #define ImageBitmap_h | 6 #define ImageBitmap_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
10 #include "core/html/HTMLImageElement.h" | 11 #include "core/html/HTMLImageElement.h" |
11 #include "core/html/canvas/CanvasImageSource.h" | 12 #include "core/html/canvas/CanvasImageSource.h" |
12 #include "core/imagebitmap/ImageBitmapOptions.h" | 13 #include "core/imagebitmap/ImageBitmapOptions.h" |
13 #include "core/imagebitmap/ImageBitmapSource.h" | 14 #include "core/imagebitmap/ImageBitmapSource.h" |
14 #include "platform/geometry/IntRect.h" | 15 #include "platform/geometry/IntRect.h" |
15 #include "platform/graphics/Image.h" | 16 #include "platform/graphics/Image.h" |
16 #include "platform/graphics/ImageBuffer.h" | 17 #include "platform/graphics/ImageBuffer.h" |
17 #include "platform/graphics/StaticBitmapImage.h" | 18 #include "platform/graphics/StaticBitmapImage.h" |
18 #include "platform/heap/Handle.h" | 19 #include "platform/heap/Handle.h" |
19 #include "third_party/skia/include/core/SkRefCnt.h" | 20 #include "third_party/skia/include/core/SkRefCnt.h" |
20 #include "wtf/PassRefPtr.h" | 21 #include "wtf/PassRefPtr.h" |
21 #include <memory> | |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
24 class Float32ImageData; | 24 class Float32ImageData; |
25 class HTMLCanvasElement; | 25 class HTMLCanvasElement; |
26 class HTMLVideoElement; | 26 class HTMLVideoElement; |
27 class ImageData; | 27 class ImageData; |
28 class ImageDecoder; | 28 class ImageDecoder; |
29 class OffscreenCanvas; | 29 class OffscreenCanvas; |
30 | 30 |
31 enum AlphaDisposition { | 31 enum AlphaDisposition { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 bool isImageBitmapPremultiplied, | 166 bool isImageBitmapPremultiplied, |
167 bool isImageBitmapOriginClean); | 167 bool isImageBitmapOriginClean); |
168 | 168 |
169 RefPtr<StaticBitmapImage> m_image; | 169 RefPtr<StaticBitmapImage> m_image; |
170 bool m_isNeutered = false; | 170 bool m_isNeutered = false; |
171 }; | 171 }; |
172 | 172 |
173 } // namespace blink | 173 } // namespace blink |
174 | 174 |
175 #endif // ImageBitmap_h | 175 #endif // ImageBitmap_h |
OLD | NEW |