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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl

Issue 1402963003: ** DO NO COMMIT ** for jake Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
index d366967ec839ec5ee7a26eb74e33e0b118834ae6..94ab83becf1551b430b8ad4aa86ab8328fae6850 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
@@ -34,6 +34,7 @@ typedef (HTMLImageElement or
enum CanvasFillRule { "nonzero", "evenodd" };
+enum ImageSmoothingQuality { "low", "medium", "high" };
[
SetWrapperReferenceFrom=canvas,
TypeChecking=Interface,
@@ -63,6 +64,7 @@ enum CanvasFillRule { "nonzero", "evenodd" };
// image smoothing
[ImplementedAs=imageSmoothingEnabled, DeprecateAs=PrefixedImageSmoothingEnabled] attribute boolean webkitImageSmoothingEnabled;
[MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothingEnabled;
+ attribute ImageSmoothingQuality imageSmoothingQuality; // (default 'low')
// colors and styles (see also the CanvasDrawingStyles interface)
attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (default black)

Powered by Google App Engine
This is Rietveld 408576698