| 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" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 class ImageData; | 26 class ImageData; |
| 27 class ImageDecoder; | 27 class ImageDecoder; |
| 28 | 28 |
| 29 enum AlphaDisposition { | 29 enum AlphaDisposition { |
| 30 PremultiplyAlpha, | 30 PremultiplyAlpha, |
| 31 DontPremultiplyAlpha, | 31 DontPremultiplyAlpha, |
| 32 }; | 32 }; |
| 33 enum DataColorFormat { | 33 enum DataColorFormat { |
| 34 RGBAColorType, | 34 RGBAColorType, |
| 35 N32ColorType, | 35 N32ColorType, |
| 36 F16ColorType, |
| 36 }; | 37 }; |
| 37 enum ColorSpaceInfoUpdate { | 38 enum ColorSpaceInfoUpdate { |
| 38 UpdateColorSpaceInformation, | 39 UpdateColorSpaceInformation, |
| 39 DontUpdateColorSpaceInformation, | 40 DontUpdateColorSpaceInformation, |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 class CORE_EXPORT ImageBitmap final | 43 class CORE_EXPORT ImageBitmap final |
| 43 : public GarbageCollectedFinalized<ImageBitmap>, | 44 : public GarbageCollectedFinalized<ImageBitmap>, |
| 44 public ScriptWrappable, | 45 public ScriptWrappable, |
| 45 public CanvasImageSource, | 46 public CanvasImageSource, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 bool isImageBitmapPremultiplied, | 157 bool isImageBitmapPremultiplied, |
| 157 bool isImageBitmapOriginClean); | 158 bool isImageBitmapOriginClean); |
| 158 | 159 |
| 159 RefPtr<StaticBitmapImage> m_image; | 160 RefPtr<StaticBitmapImage> m_image; |
| 160 bool m_isNeutered = false; | 161 bool m_isNeutered = false; |
| 161 }; | 162 }; |
| 162 | 163 |
| 163 } // namespace blink | 164 } // namespace blink |
| 164 | 165 |
| 165 #endif // ImageBitmap_h | 166 #endif // ImageBitmap_h |
| OLD | NEW |