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 "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
10 #include "core/html/HTMLImageElement.h" | 10 #include "core/html/HTMLImageElement.h" |
11 #include "core/html/canvas/CanvasImageSource.h" | 11 #include "core/html/canvas/CanvasImageSource.h" |
12 #include "core/imagebitmap/ImageBitmapOptions.h" | 12 #include "core/imagebitmap/ImageBitmapOptions.h" |
13 #include "core/imagebitmap/ImageBitmapSource.h" | 13 #include "core/imagebitmap/ImageBitmapSource.h" |
14 #include "platform/geometry/IntRect.h" | 14 #include "platform/geometry/IntRect.h" |
15 #include "platform/graphics/Image.h" | 15 #include "platform/graphics/Image.h" |
16 #include "platform/graphics/ImageBuffer.h" | 16 #include "platform/graphics/ImageBuffer.h" |
17 #include "platform/graphics/StaticBitmapImage.h" | 17 #include "platform/graphics/StaticBitmapImage.h" |
18 #include "platform/heap/Handle.h" | 18 #include "platform/heap/Handle.h" |
19 #include "wtf/PassRefPtr.h" | 19 #include "wtf/PassRefPtr.h" |
20 #include "wtf/RefCounted.h" | |
21 | 20 |
22 namespace blink { | 21 namespace blink { |
23 | 22 |
24 class HTMLCanvasElement; | 23 class HTMLCanvasElement; |
25 class HTMLVideoElement; | 24 class HTMLVideoElement; |
26 class ImageData; | 25 class ImageData; |
27 class ImageDecoder; | 26 class ImageDecoder; |
28 | 27 |
29 enum AlphaDisposition { | 28 enum AlphaDisposition { |
30 PremultiplyAlpha, | 29 PremultiplyAlpha, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 79 |
81 void parseOptions(const ImageBitmapOptions&, bool&, bool&); | 80 void parseOptions(const ImageBitmapOptions&, bool&, bool&); |
82 | 81 |
83 RefPtr<StaticBitmapImage> m_image; | 82 RefPtr<StaticBitmapImage> m_image; |
84 bool m_isNeutered = false; | 83 bool m_isNeutered = false; |
85 }; | 84 }; |
86 | 85 |
87 } // namespace blink | 86 } // namespace blink |
88 | 87 |
89 #endif // ImageBitmap_h | 88 #endif // ImageBitmap_h |
OLD | NEW |