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

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

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 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 GarbageCollected,
9 Exposed=(Window,Worker), 8 Exposed=(Window,Worker),
10 RuntimeEnabled=ExperimentalCanvasFeatures, 9 RuntimeEnabled=ExperimentalCanvasFeatures,
11 ] interface OffscreenCanvasRenderingContext2D { 10 ] interface OffscreenCanvasRenderingContext2D {
12 // back-reference to the canvas 11 // back-reference to the canvas
13 [ImplementedAs=getOffscreenCanvas] readonly attribute OffscreenCanvas offscr eenCanvas; 12 [ImplementedAs=getOffscreenCanvas] readonly attribute OffscreenCanvas offscr eenCanvas;
14 13
15 // colors and styles 14 // colors and styles
16 attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (de fault black) 15 attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (de fault black)
17 attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (defa ult black) 16 attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (defa ult black)
18 17
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void resetTransform(); 51 void resetTransform();
53 52
54 // shadows 53 // shadows
55 attribute unrestricted double shadowOffsetX; 54 attribute unrestricted double shadowOffsetX;
56 attribute unrestricted double shadowOffsetY; 55 attribute unrestricted double shadowOffsetY;
57 attribute unrestricted double shadowBlur; 56 attribute unrestricted double shadowBlur;
58 attribute DOMString shadowColor; 57 attribute DOMString shadowColor;
59 }; 58 };
60 59
61 OffscreenCanvasRenderingContext2D implements CanvasPathMethods; 60 OffscreenCanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698