Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Unified Diff: third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h

Issue 1836283002: Implement HTMLCanvasElement's transferControlToOffscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update interface layout tests result Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h
diff --git a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h
index bacb33cc0ef181118c9714b5c4deb01fe3feb435..0364503b35629bb28665f9d22a7f8aa2deb5d4e2 100644
--- a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h
+++ b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h
@@ -6,6 +6,8 @@
#define HTMLCanvasElementModule_h
#include "core/html/HTMLCanvasElement.h"
+#include "modules/ModulesExport.h"
+#include "modules/offscreencanvas/OffscreenCanvas.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -14,10 +16,11 @@ class CanvasContextCreationAttributes;
class HTMLCanvasElement;
class ScriptState;
-class HTMLCanvasElementModule {
+class MODULES_EXPORT HTMLCanvasElementModule {
STATIC_ONLY(HTMLCanvasElementModule);
public:
static void getContext(HTMLCanvasElement&, const String&, const CanvasContextCreationAttributes&, RenderingContext&);
+ static OffscreenCanvas* transferControlToOffscreen(HTMLCanvasElement&, ExceptionState&);
};
}

Powered by Google App Engine
This is Rietveld 408576698