| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 OffscreenCanvas_h | 5 #ifndef OffscreenCanvas_h |
| 6 #define OffscreenCanvas_h | 6 #define OffscreenCanvas_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
| 10 #include "bindings/core/v8/ScriptState.h" | |
| 11 #include "bindings/core/v8/ScriptWrappable.h" | |
| 12 #include "core/events/EventTarget.h" | 10 #include "core/events/EventTarget.h" |
| 13 #include "core/html/HTMLCanvasElement.h" | 11 #include "core/html/HTMLCanvasElement.h" |
| 14 #include "core/html/canvas/CanvasImageSource.h" | 12 #include "core/html/canvas/CanvasImageSource.h" |
| 15 #include "core/html/canvas/CanvasRenderingContextHost.h" | 13 #include "core/html/canvas/CanvasRenderingContextHost.h" |
| 16 #include "core/imagebitmap/ImageBitmapSource.h" | 14 #include "core/imagebitmap/ImageBitmapSource.h" |
| 17 #include "core/offscreencanvas/ImageEncodeOptions.h" | 15 #include "core/offscreencanvas/ImageEncodeOptions.h" |
| 16 #include "platform/bindings/ScriptState.h" |
| 17 #include "platform/bindings/ScriptWrappable.h" |
| 18 #include "platform/geometry/IntSize.h" | 18 #include "platform/geometry/IntSize.h" |
| 19 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" | 19 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" |
| 20 #include "platform/heap/Handle.h" | 20 #include "platform/heap/Handle.h" |
| 21 | 21 |
| 22 namespace blink { | 22 namespace blink { |
| 23 | 23 |
| 24 class CanvasContextCreationAttributes; | 24 class CanvasContextCreationAttributes; |
| 25 class ImageBitmap; | 25 class ImageBitmap; |
| 26 class | 26 class |
| 27 OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingCon
text; | 27 OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingCon
text; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // If this object is not created via | 194 // If this object is not created via |
| 195 // HTMLCanvasElement.transferControlToOffscreen(), | 195 // HTMLCanvasElement.transferControlToOffscreen(), |
| 196 // then the following members would remain as initialized zero values. | 196 // then the following members would remain as initialized zero values. |
| 197 uint32_t client_id_ = 0; | 197 uint32_t client_id_ = 0; |
| 198 uint32_t sink_id_ = 0; | 198 uint32_t sink_id_ = 0; |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 } // namespace blink | 201 } // namespace blink |
| 202 | 202 |
| 203 #endif // OffscreenCanvas_h | 203 #endif // OffscreenCanvas_h |
| OLD | NEW |