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

Side by Side Diff: sky/engine/core/html/canvas/CanvasRenderingContext2D.idl

Issue 683593002: Remove GarbageCollected support from the bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 HTMLVideoElement or 32 HTMLVideoElement or
33 HTMLCanvasElement // or 33 HTMLCanvasElement // or
34 // CanvasRenderingContext2D or 34 // CanvasRenderingContext2D or
35 // ImageBitmap 35 // ImageBitmap
36 ) CanvasImageSource; 36 ) CanvasImageSource;
37 37
38 enum CanvasFillRule { "nonzero", "evenodd" }; 38 enum CanvasFillRule { "nonzero", "evenodd" };
39 39
40 [ 40 [
41 TypeChecking=(Interface,Unrestricted), 41 TypeChecking=(Interface,Unrestricted),
42 WillBeGarbageCollected,
43 ] interface CanvasRenderingContext2D { 42 ] interface CanvasRenderingContext2D {
44 // back-reference to the canvas 43 // back-reference to the canvas
45 readonly attribute HTMLCanvasElement canvas; 44 readonly attribute HTMLCanvasElement canvas;
46 45
47 // state 46 // state
48 void save(); // push state on state stack 47 void save(); // push state on state stack
49 void restore(); // pop state stack and restore state 48 void restore(); // pop state stack and restore state
50 49
51 // transformations (default transform is the identity matrix) 50 // transformations (default transform is the identity matrix)
52 void scale(unrestricted float x, unrestricted float y); 51 void scale(unrestricted float x, unrestricted float y);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect ( 178 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect (
180 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh, 179 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh,
181 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation); 180 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation);
182 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha); 181 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha);
183 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, optional unrestricted float alpha); 182 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, optional unrestricted float alpha);
184 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t r, unrestricted float g, unrestricted float b, unrestricted float a); 183 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t r, unrestricted float g, unrestricted float b, unrestricted float a);
185 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t c, unrestricted float m, unrestricted float y, unrestricted float k, unrestric ted float a); 184 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t c, unrestricted float m, unrestricted float y, unrestricted float k, unrestric ted float a);
186 }; 185 };
187 186
188 CanvasRenderingContext2D implements CanvasPathMethods; 187 CanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/CanvasPattern.idl ('k') | sky/engine/core/html/canvas/EXTBlendMinMax.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698