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

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

Issue 2036663003: Establish mojo service between Canvas (blink) and SurfaceManager (browser) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OWNERS change on offscreencanvas folder Created 4 years, 6 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 e37ceaca540c4091a15cddb67a84561ac262aeee..313143ce02d958a8b0598910b8ddbe1db29d7d00 100644
--- a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h
+++ b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h
@@ -18,9 +18,15 @@ class OffscreenCanvas;
class MODULES_EXPORT HTMLCanvasElementModule {
STATIC_ONLY(HTMLCanvasElementModule);
+
+ friend class HTMLCanvasElementModuleTest;
+
public:
static void getContext(HTMLCanvasElement&, const String&, const CanvasContextCreationAttributes&, RenderingContext&);
static OffscreenCanvas* transferControlToOffscreen(HTMLCanvasElement&, ExceptionState&);
+
+private:
+ static OffscreenCanvas* transferControlToOffscreenInternal(HTMLCanvasElement&, ExceptionState&);
};
}

Powered by Google App Engine
This is Rietveld 408576698