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

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

Issue 804743002: Deprecate CanvasRenderingContext2D.webkitImageSmoothingEnabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update expectations Created 6 years 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/frame/UseCounter.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void translate(unrestricted float x, unrestricted float y); 52 void translate(unrestricted float x, unrestricted float y);
53 void transform(unrestricted float a, unrestricted float b, unrestricted floa t c, unrestricted float d, unrestricted float e, unrestricted float f); 53 void transform(unrestricted float a, unrestricted float b, unrestricted floa t c, unrestricted float d, unrestricted float e, unrestricted float f);
54 void setTransform(unrestricted float a, unrestricted float b, unrestricted f loat c, unrestricted float d, unrestricted float e, unrestricted float f); 54 void setTransform(unrestricted float a, unrestricted float b, unrestricted f loat c, unrestricted float d, unrestricted float e, unrestricted float f);
55 void resetTransform(); 55 void resetTransform();
56 56
57 // compositing 57 // compositing
58 attribute unrestricted float globalAlpha; // (default 1.0) 58 attribute unrestricted float globalAlpha; // (default 1.0)
59 [TreatNullAs=NullString] attribute DOMString globalCompositeOperation; // (d efault source-over) 59 [TreatNullAs=NullString] attribute DOMString globalCompositeOperation; // (d efault source-over)
60 60
61 // image smoothing 61 // image smoothing
62 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable d] attribute boolean webkitImageSmoothingEnabled; 62 [ImplementedAs=imageSmoothingEnabled, DeprecateAs=PrefixedImageSmoothingEnab led] attribute boolean webkitImageSmoothingEnabled;
63 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing Enabled; 63 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing Enabled;
64 64
65 // colors and styles (see also the CanvasDrawingStyles interface) 65 // colors and styles (see also the CanvasDrawingStyles interface)
66 attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (de fault black) 66 attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (de fault black)
67 attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (defa ult black) 67 attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (defa ult black)
68 CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1); 68 CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1);
69 [RaisesException] CanvasGradient createRadialGradient(float x0, float y0, fl oat r0, float x1, float y1, float r1); 69 [RaisesException] CanvasGradient createRadialGradient(float x0, float y0, fl oat r0, float x1, float y1, float r1);
70 [RaisesException] CanvasPattern createPattern(CanvasImageSource image, DOMSt ring? repetitionType); 70 [RaisesException] CanvasPattern createPattern(CanvasImageSource image, DOMSt ring? repetitionType);
71 71
72 // shadows 72 // shadows
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // text 141 // text
142 attribute DOMString font; // (default 10px sans-serif) 142 attribute DOMString font; // (default 10px sans-serif)
143 attribute DOMString textAlign; // "start", "end", "left", "right", "center" (default: "start") 143 attribute DOMString textAlign; // "start", "end", "left", "right", "center" (default: "start")
144 attribute DOMString textBaseline; // "top", "hanging", "middle", "alphabetic ", "ideographic", "bottom" (default: "alphabetic") 144 attribute DOMString textBaseline; // "top", "hanging", "middle", "alphabetic ", "ideographic", "bottom" (default: "alphabetic")
145 [RuntimeEnabled=ExperimentalCanvasFeatures] attribute DOMString direction; / / "inherit", "rtl", "ltr" (default: "inherit") 145 [RuntimeEnabled=ExperimentalCanvasFeatures] attribute DOMString direction; / / "inherit", "rtl", "ltr" (default: "inherit")
146 146
147 }; 147 };
148 148
149 CanvasRenderingContext2D implements CanvasPathMethods; 149 CanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698