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

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

Issue 676923002: Remove the webkit prefix from idl properties and interfaces. (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
« no previous file with comments | « sky/engine/core/html/HTMLVideoElement.idl ('k') | sky/engine/web/WebInputEventConversion.cpp » ('j') | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void translate(unrestricted float x, unrestricted float y); 54 void translate(unrestricted float x, unrestricted float y);
55 void transform(unrestricted float a, unrestricted float b, unrestricted floa t c, unrestricted float d, unrestricted float e, unrestricted float f); 55 void transform(unrestricted float a, unrestricted float b, unrestricted floa t c, unrestricted float d, unrestricted float e, unrestricted float f);
56 void setTransform(unrestricted float a, unrestricted float b, unrestricted f loat c, unrestricted float d, unrestricted float e, unrestricted float f); 56 void setTransform(unrestricted float a, unrestricted float b, unrestricted f loat c, unrestricted float d, unrestricted float e, unrestricted float f);
57 void resetTransform(); 57 void resetTransform();
58 58
59 // compositing 59 // compositing
60 attribute unrestricted float globalAlpha; // (default 1.0) 60 attribute unrestricted float globalAlpha; // (default 1.0)
61 [TreatNullAs=NullString] attribute DOMString globalCompositeOperation; // (d efault source-over) 61 [TreatNullAs=NullString] attribute DOMString globalCompositeOperation; // (d efault source-over)
62 62
63 // image smoothing 63 // image smoothing
64 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable d] attribute boolean webkitImageSmoothingEnabled;
65 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing Enabled; 64 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing Enabled;
66 65
67 // colors and styles (see also the CanvasDrawingStyles interface) 66 // colors and styles (see also the CanvasDrawingStyles interface)
68 // FIXME: Use union types when supported: http://crbug.com/372891 67 // FIXME: Use union types when supported: http://crbug.com/372891
69 [Custom] attribute object strokeStyle; // (default black) 68 [Custom] attribute object strokeStyle; // (default black)
70 [Custom] attribute object fillStyle; // (default black) 69 [Custom] attribute object fillStyle; // (default black)
71 CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1); 70 CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1);
72 [RaisesException] CanvasGradient createRadialGradient(float x0, float y0, fl oat r0, float x1, float y1, float r1); 71 [RaisesException] CanvasGradient createRadialGradient(float x0, float y0, fl oat r0, float x1, float y1, float r1);
73 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement canvas, DOMS tring? repetitionType); 72 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement canvas, DOMS tring? repetitionType);
74 [RaisesException] CanvasPattern createPattern(HTMLImageElement image, DOMStr ing? repetitionType); 73 [RaisesException] CanvasPattern createPattern(HTMLImageElement image, DOMStr ing? repetitionType);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect ( 179 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect (
181 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh, 180 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh,
182 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation); 181 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation);
183 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha); 182 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha);
184 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, 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);
185 [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); 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);
186 [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); 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);
187 }; 186 };
188 187
189 CanvasRenderingContext2D implements CanvasPathMethods; 188 CanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLVideoElement.idl ('k') | sky/engine/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698