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

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

Issue 2901213006: Suppress Scale interface - unused. (Closed)
Patch Set: BigCaesar Created 3 years, 7 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 16c61a918ade302ea14a7f41834404d33c72660b..94703843984849587067adc34b6cadcd4acaa947 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -30507,49 +30507,6 @@ class RtcStatsResponse extends Interceptor {
@DocsEditable()
List<RtcStatsReport> result() 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
-// BSD-style license that can be found in the LICENSE file.
-
-@DocsEditable()
-@DomName('Scale')
-@Experimental() // untriaged
-@Native("Scale")
-class Scale extends TransformComponent {
- // To suppress missing implicit constructor warnings.
- factory Scale._() {
- throw new UnsupportedError("Not supported");
- }
-
- @DomName('Scale.Scale')
- @DocsEditable()
- factory Scale(num x, num y, [num z]) {
- if ((y is num) && (x is num) && z == null) {
- return Scale._create_1(x, y);
- }
- if ((z is num) && (y is num) && (x is num)) {
- return Scale._create_2(x, y, z);
- }
- throw new ArgumentError("Incorrect number or type of arguments");
- }
- static Scale _create_1(x, y) => JS('Scale', 'new Scale(#,#)', x, y);
- static Scale _create_2(x, y, z) => JS('Scale', 'new Scale(#,#,#)', x, y, z);
-
- @DomName('Scale.x')
- @DocsEditable()
- @Experimental() // untriaged
- final double x;
-
- @DomName('Scale.y')
- @DocsEditable()
- @Experimental() // untriaged
- final double y;
-
- @DomName('Scale.z')
- @DocsEditable()
- @Experimental() // untriaged
- final double z;
-}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
« 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