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

Unified Diff: lib/html/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate

Issue 10983052: Revert "Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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:
View side-by-side diff with in-line comments
Download patch
Index: lib/html/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
diff --git a/lib/html/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate b/lib/html/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
deleted file mode 100644
index b7ae034590734b205e3afe2c0aeb3ccef08f2e1b..0000000000000000000000000000000000000000
--- a/lib/html/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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.
-
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
-$!MEMBERS
-
- void setFillColorRgb(int r, int g, int b, [double a = 1]) {
- this.fillStyle = 'rgba($r, $g, $b, $a)';
- }
-
- void setFillColorHsl(int h, double s, double l, [double a = 1]) {
- this.fillStyle = 'hsla($h, $s%, $l%, $a)';
- }
-
- void setStrokeColorRgb(int r, int g, int b, [double a = 1]) {
- this.strokeStyle = 'rgba($r, $g, $b, $a)';
- }
-
- void setStrokeColorHsl(int h, double s, double l, [double a = 1]) {
- this.strokeStyle = 'hsla($h, $s%, $l%, $a)';
- }
-}
« no previous file with comments | « lib/html/scripts/htmlrenamer.py ('k') | lib/html/templates/html/interface/interface_CanvasRenderingContext2D.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698