OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebGLRenderingContextBaseOffScreenCanvas_h |
| 6 #define WebGLRenderingContextBaseOffScreenCanvas_h |
| 7 |
| 8 #include "bindings/modules/v8/UnionTypesModules.h" |
| 9 #include "wtf/Allocator.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class WebGLRenderingContextBase; |
| 14 |
| 15 class WebGLRenderingContextBaseOffScreenCanvas { |
| 16 STATIC_ONLY(WebGLRenderingContextBaseOffScreenCanvas); |
| 17 public: |
| 18 static void canvas(WebGLRenderingContextBase&, HTMLCanvasElementOrOffScreenC
anvas&); |
| 19 static void commit(WebGLRenderingContextBase&); |
| 20 }; |
| 21 |
| 22 } // namespace blink |
| 23 |
| 24 #endif // CanvasRenderingContext2DOffScreenCanvas_h |
OLD | NEW |