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

Side by Side Diff: Source/core/html/canvas/CanvasRenderingContext2D.idl

Issue 215193002: Removing webkit-prefixed image data HD APIs from 2D canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: cleaned up obsolete tests Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 optional DOMString compositeOperation); 143 optional DOMString compositeOperation);
144 144
145 void setShadow(float width, float height, float blur, [StrictTypeChecking] o ptional DOMString color, optional float alpha); 145 void setShadow(float width, float height, float blur, [StrictTypeChecking] o ptional DOMString color, optional float alpha);
146 void setShadow(float width, float height, float blur, float grayLevel, optio nal float alpha); 146 void setShadow(float width, float height, float blur, float grayLevel, optio nal float alpha);
147 void setShadow(float width, float height, float blur, float r, float g, floa t b, float a); 147 void setShadow(float width, float height, float blur, float r, float g, floa t b, float a);
148 void setShadow(float width, float height, float blur, float c, float m, floa t y, float k, float a); 148 void setShadow(float width, float height, float blur, float c, float m, floa t y, float k, float a);
149 149
150 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy ); 150 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy );
151 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy , float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); 151 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy , float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
152 152
153 [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDat aHD(ImageData? imagedata, float dx, float dy);
154 [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDat aHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
155
156 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [Tr eatNullAs=NullString] DOMString repetitionType); 153 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [Tr eatNullAs=NullString] DOMString repetitionType);
157 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [Trea tNullAs=NullString] DOMString repetitionType); 154 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [Trea tNullAs=NullString] DOMString repetitionType);
158 [RaisesException] CanvasPattern createPattern(HTMLVideoElement? image, [Trea tNullAs=NullString] DOMString repetitionType); 155 [RaisesException] CanvasPattern createPattern(HTMLVideoElement? image, [Trea tNullAs=NullString] DOMString repetitionType);
159 [RaisesException] ImageData createImageData(ImageData? imagedata); 156 [RaisesException] ImageData createImageData(ImageData? imagedata);
160 [RaisesException] ImageData createImageData(float sw, float sh); 157 [RaisesException] ImageData createImageData(float sw, float sh);
161 158
162 [Custom] attribute object strokeStyle; 159 [Custom] attribute object strokeStyle;
163 [Custom] attribute object fillStyle; 160 [Custom] attribute object fillStyle;
164 161
165 // pixel manipulation 162 // pixel manipulation
166 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float sh); 163 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float sh);
167 164
168 [RaisesException, DeprecateAs=PrefixedGetImageDataHD] ImageData webkitGetIma geDataHD(float sx, float sy, float sw, float sh);
169
170 // Focus rings 165 // Focus rings
171 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawFocusIfNeeded(Element e lement); 166 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawFocusIfNeeded(Element e lement);
172 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem ent element); 167 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem ent element);
173 168
174 readonly attribute float webkitBackingStorePixelRatio;
175
176 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable d] attribute boolean webkitImageSmoothingEnabled; 169 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable d] attribute boolean webkitImageSmoothingEnabled;
177 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing Enabled; 170 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing Enabled;
178 171
179 Canvas2DContextAttributes getContextAttributes(); 172 Canvas2DContextAttributes getContextAttributes();
180 }; 173 };
181 174
182 CanvasRenderingContext2D implements CanvasPathMethods; 175 CanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698