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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 560263004: Fixed removing of pure interface (implements) operations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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:
Download patch
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 196e8010abacd70961885a057b98a13f54be703a..b58efb409ab885cd08b75e04da2b07c1b8253cef 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -2000,6 +2000,46 @@ class CanvasRenderingContext2D extends Interceptor implements CanvasRenderingCon
@DocsEditable()
void translate(num x, num y) native;
+ // From CanvasPathMethods
+
+ @JSName('arc')
+ @DomName('CanvasRenderingContext2D.arc')
+ @DocsEditable()
+ void _arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native;
+
+ @DomName('CanvasRenderingContext2D.arcTo')
+ @DocsEditable()
+ void arcTo(num x1, num y1, num x2, num y2, num radius) native;
+
+ @DomName('CanvasRenderingContext2D.bezierCurveTo')
+ @DocsEditable()
+ void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native;
+
+ @DomName('CanvasRenderingContext2D.closePath')
+ @DocsEditable()
+ void closePath() native;
+
+ @DomName('CanvasRenderingContext2D.ellipse')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native;
+
+ @DomName('CanvasRenderingContext2D.lineTo')
+ @DocsEditable()
+ void lineTo(num x, num y) native;
+
+ @DomName('CanvasRenderingContext2D.moveTo')
+ @DocsEditable()
+ void moveTo(num x, num y) native;
+
+ @DomName('CanvasRenderingContext2D.quadraticCurveTo')
+ @DocsEditable()
+ void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
+
+ @DomName('CanvasRenderingContext2D.rect')
+ @DocsEditable()
+ void rect(num x, num y, num width, num height) native;
+
/**
* Sets the color used inside shapes.
@@ -22128,6 +22168,53 @@ class Path2D extends Interceptor implements _CanvasPathMethods {
@DocsEditable()
@Experimental() // untriaged
void addPath(Path2D path, [Matrix transform]) native;
+
+ // From CanvasPathMethods
+
+ @DomName('Path2D.arc')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native;
+
+ @DomName('Path2D.arcTo')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void arcTo(num x1, num y1, num x2, num y2, num radius) native;
+
+ @DomName('Path2D.bezierCurveTo')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native;
+
+ @DomName('Path2D.closePath')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void closePath() native;
+
+ @DomName('Path2D.ellipse')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native;
+
+ @DomName('Path2D.lineTo')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void lineTo(num x, num y) native;
+
+ @DomName('Path2D.moveTo')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void moveTo(num x, num y) native;
+
+ @DomName('Path2D.quadraticCurveTo')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
+
+ @DomName('Path2D.rect')
+ @DocsEditable()
+ @Experimental() // untriaged
+ void rect(num x, num y, num width, num height) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -27842,6 +27929,11 @@ class Url extends Interceptor implements UrlUtils {
@Experimental() // untriaged
String username;
+ @DomName('URL.toString')
+ @DocsEditable()
+ @Experimental() // untriaged
+ String toString() native;
+
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698