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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.idl

Issue 227583006: Enable Path2D object and some path APIs by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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: Source/core/html/canvas/CanvasRenderingContext2D.idl
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl
index b26de1466d54c10c19d12eee613880f894a48beb..21d9ba1e50c3716dceb722be6725d81769a7e558 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl
@@ -69,26 +69,24 @@ interface CanvasRenderingContext2D {
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
void fill();
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path2D? path);
+ [RuntimeEnabled=Path2D, RaisesException] void fill(Path2D? path);
void fill(CanvasWindingRule winding);
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path2D? path, CanvasWindingRule winding);
+ [RuntimeEnabled=Path2D, RaisesException] void fill(Path2D? path, CanvasWindingRule winding);
void stroke();
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void stroke(Path2D? path);
+ [RuntimeEnabled=Path2D, RaisesException] void stroke(Path2D? path);
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
void clip();
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void clip(Path2D? path);
+ [RuntimeEnabled=Path2D, RaisesException] void clip(Path2D? path);
void clip(CanvasWindingRule winding);
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void clip(Path2D? path, CanvasWindingRule winding);
+ [RuntimeEnabled=Path2D, RaisesException] void clip(Path2D? path, CanvasWindingRule winding);
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
boolean isPointInPath(float x, float y);
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInPath(Path2D? path, float x, float y);
+ [RuntimeEnabled=Path2D, RaisesException] boolean isPointInPath(Path2D? path, float x, float y);
boolean isPointInPath(float x, float y, CanvasWindingRule winding);
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInPath(Path2D? path, float x, float y, CanvasWindingRule winding);
-
- // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
+ [RuntimeEnabled=Path2D, RaisesException] boolean isPointInPath(Path2D? path, float x, float y, CanvasWindingRule winding);
boolean isPointInStroke(float x, float y);
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInStroke(Path2D? path, float x, float y);
+ [RuntimeEnabled=Path2D, RaisesException] boolean isPointInStroke(Path2D? path, float x, float y);
[RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView();
[RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void scrollPathIntoView(Path2D? path);
« no previous file with comments | « LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt ('k') | Source/core/html/canvas/Path2D.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698