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

Side by Side Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl

Issue 2326633002: Adds filter support for offscreen canvas (Closed)
Patch Set: New version without StyleResolver Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 // Note: The official spec is WIP at wiki.whatwg.org/wiki/OffscreenCanvas. 5 // Note: The official spec is WIP at wiki.whatwg.org/wiki/OffscreenCanvas.
6 6
7 [ 7 [
8 Exposed=(Window,Worker), 8 Exposed=(Window,Worker),
9 RuntimeEnabled=ExperimentalCanvasFeatures, 9 RuntimeEnabled=ExperimentalCanvasFeatures,
10 ] interface OffscreenCanvasRenderingContext2D { 10 ] interface OffscreenCanvasRenderingContext2D {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 attribute unrestricted double shadowBlur; 72 attribute unrestricted double shadowBlur;
73 attribute DOMString shadowColor; 73 attribute DOMString shadowColor;
74 74
75 // pixel manipulation 75 // pixel manipulation
76 [RaisesException] ImageData createImageData(ImageData imagedata); 76 [RaisesException] ImageData createImageData(ImageData imagedata);
77 [RaisesException] ImageData createImageData(double sw, double sh); 77 [RaisesException] ImageData createImageData(double sw, double sh);
78 [RaisesException] ImageData getImageData(double sx, double sy, double sw, do uble sh); 78 [RaisesException] ImageData getImageData(double sx, double sy, double sw, do uble sh);
79 [RaisesException] void putImageData(ImageData imagedata, double dx, double d y); 79 [RaisesException] void putImageData(ImageData imagedata, double dx, double d y);
80 [RaisesException] void putImageData(ImageData imagedata, double dx, double d y, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight); 80 [RaisesException] void putImageData(ImageData imagedata, double dx, double d y, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight);
81 81
82 [Exposed=Window] attribute DOMString filter; 82 attribute DOMString filter;
83 }; 83 };
84 84
85 OffscreenCanvasRenderingContext2D implements CanvasPathMethods; 85 OffscreenCanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698