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

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

Issue 14298018: This CL implements the first draft of Canvas 2D Context Attributes, aka getContext('2d', { alpha: f… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT; test cleanup Created 7 years, 7 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
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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // pixel manipulation 209 // pixel manipulation
210 [RaisesException] ImageData getImageData([Default=Undefined] optional float sx, [Default=Undefined] optional float sy, 210 [RaisesException] ImageData getImageData([Default=Undefined] optional float sx, [Default=Undefined] optional float sy,
211 [Default=Undefined] optional float sw, [Default=Undef ined] optional float sh); 211 [Default=Undefined] optional float sw, [Default=Undef ined] optional float sh);
212 212
213 [RaisesException] ImageData webkitGetImageDataHD([Default=Undefined] optiona l float sx, [Default=Undefined] optional float sy, 213 [RaisesException] ImageData webkitGetImageDataHD([Default=Undefined] optiona l float sx, [Default=Undefined] optional float sy,
214 [Default=Undefined] optional float sw, [Defau lt=Undefined] optional float sh); 214 [Default=Undefined] optional float sw, [Defau lt=Undefined] optional float sh);
215 215
216 readonly attribute float webkitBackingStorePixelRatio; 216 readonly attribute float webkitBackingStorePixelRatio;
217 217
218 attribute boolean webkitImageSmoothingEnabled; 218 attribute boolean webkitImageSmoothingEnabled;
219
220 [EnabledAtRuntime=experimentalCanvasFeatures] Canvas2DContextAttributes getC ontextAttributes();
219 }; 221 };
220 222
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/core/page/RuntimeEnabledFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698