| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 const ImageBitmapOptions&); | 144 const ImageBitmapOptions&); |
| 145 ImageBitmap(HTMLVideoElement*, | 145 ImageBitmap(HTMLVideoElement*, |
| 146 Optional<IntRect>, | 146 Optional<IntRect>, |
| 147 Document*, | 147 Document*, |
| 148 const ImageBitmapOptions&); | 148 const ImageBitmapOptions&); |
| 149 ImageBitmap(HTMLCanvasElement*, Optional<IntRect>, const ImageBitmapOptions&); | 149 ImageBitmap(HTMLCanvasElement*, Optional<IntRect>, const ImageBitmapOptions&); |
| 150 ImageBitmap(OffscreenCanvas*, Optional<IntRect>, const ImageBitmapOptions&); | 150 ImageBitmap(OffscreenCanvas*, Optional<IntRect>, const ImageBitmapOptions&); |
| 151 ImageBitmap(ImageData*, Optional<IntRect>, const ImageBitmapOptions&); | 151 ImageBitmap(ImageData*, Optional<IntRect>, const ImageBitmapOptions&); |
| 152 ImageBitmap(ImageBitmap*, Optional<IntRect>, const ImageBitmapOptions&); | 152 ImageBitmap(ImageBitmap*, Optional<IntRect>, const ImageBitmapOptions&); |
| 153 ImageBitmap(PassRefPtr<StaticBitmapImage>); | 153 ImageBitmap(PassRefPtr<StaticBitmapImage>); |
| 154 ImageBitmap(PassRefPtr<StaticBitmapImage>, | 154 ImageBitmap(RefPtr<StaticBitmapImage>, |
| 155 Optional<IntRect>, | 155 Optional<IntRect>, |
| 156 const ImageBitmapOptions&); | 156 const ImageBitmapOptions&); |
| 157 ImageBitmap(const void* pixel_data, | 157 ImageBitmap(const void* pixel_data, |
| 158 uint32_t width, | 158 uint32_t width, |
| 159 uint32_t height, | 159 uint32_t height, |
| 160 bool is_image_bitmap_premultiplied, | 160 bool is_image_bitmap_premultiplied, |
| 161 bool is_image_bitmap_origin_clean); | 161 bool is_image_bitmap_origin_clean); |
| 162 | 162 |
| 163 RefPtr<StaticBitmapImage> image_; | 163 RefPtr<StaticBitmapImage> image_; |
| 164 bool is_neutered_ = false; | 164 bool is_neutered_ = false; |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } // namespace blink | 167 } // namespace blink |
| 168 | 168 |
| 169 #endif // ImageBitmap_h | 169 #endif // ImageBitmap_h |
| OLD | NEW |