| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 HTMLCanvasElementModule_h | 5 #ifndef HTMLCanvasElementModule_h |
| 6 #define HTMLCanvasElementModule_h | 6 #define HTMLCanvasElementModule_h |
| 7 | 7 |
| 8 #include "core/html/HTMLCanvasElement.h" | 8 #include "core/html/HTMLCanvasElement.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "platform/wtf/text/WTFString.h" | 10 #include "platform/wtf/text/WTFString.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 const CanvasContextCreationAttributes&, | 26 const CanvasContextCreationAttributes&, |
| 27 ExceptionState&, | 27 ExceptionState&, |
| 28 RenderingContext&); | 28 RenderingContext&); |
| 29 static OffscreenCanvas* transferControlToOffscreen(HTMLCanvasElement&, | 29 static OffscreenCanvas* transferControlToOffscreen(HTMLCanvasElement&, |
| 30 ExceptionState&); | 30 ExceptionState&); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 static OffscreenCanvas* TransferControlToOffscreenInternal(HTMLCanvasElement&, | 33 static OffscreenCanvas* TransferControlToOffscreenInternal(HTMLCanvasElement&, |
| 34 ExceptionState&); | 34 ExceptionState&); |
| 35 }; | 35 }; |
| 36 } | 36 } // namespace blink |
| 37 | 37 |
| 38 #endif | 38 #endif |
| OLD | NEW |