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

Unified Diff: third_party/WebKit/Source/modules/csspaint/Geometry.idl

Issue 1866623002: Hook up CSSPaintValue::image to CSS Paint API callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments + rebase. Created 4 years, 8 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/csspaint/Geometry.idl
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl b/third_party/WebKit/Source/modules/csspaint/Geometry.idl
similarity index 63%
copy from third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
copy to third_party/WebKit/Source/modules/csspaint/Geometry.idl
index 622777f2bc5ef7e1d667e0067b226a0fe7b7b5dd..87e65e194f3ae97ff0a40c0f9d40b0649b2c83a2 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.idl
+++ b/third_party/WebKit/Source/modules/csspaint/Geometry.idl
@@ -6,8 +6,9 @@
[
Exposed=PaintWorklet,
- Global=(Worklet,PaintWorklet),
RuntimeEnabled=CSSPaintAPI,
-] interface PaintWorkletGlobalScope : WorkletGlobalScope {
- [RaisesException] void registerPaint(DOMString name, Function paintCtor);
+ GarbageCollected,
+] interface Geometry {
+ readonly attribute double width;
+ readonly attribute double height;
};
« no previous file with comments | « third_party/WebKit/Source/modules/csspaint/Geometry.h ('k') | third_party/WebKit/Source/modules/csspaint/PaintWorklet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698