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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 302753005: 1985 no longer supports webkitBackingStorePixelRatio on CanvasRenderingContext2D (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added @deprecated Created 6 years, 6 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/html/dart2js/html_dart2js.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 6251199d0366c2dc21d03256d27d7053227d4c4b..565e521b2abee091f5ba1af846f8ab2a27b12e65 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -2156,22 +2156,6 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
@DocsEditable()
void set textBaseline(String value) => _blink.Native_CanvasRenderingContext2D_textBaseline_Setter(this, value);
- /**
- * The ratio between this canvas' backing store dimensions and the canvas'
- * logical dimensions.
- *
- * ## Other resources
- *
- * * [High DPI Canvas tutorial]
- * (http://www.html5rocks.com/en/tutorials/canvas/hidpi/) from HTML5Rocks.
- */
- @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- double get backingStorePixelRatio => _blink.Native_CanvasRenderingContext2D_webkitBackingStorePixelRatio_Getter(this);
-
@DomName('CanvasRenderingContext2D.arc')
@DocsEditable()
void _arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) => _blink.Native_CanvasRenderingContext2D_arc_Callback(this, x, y, radius, startAngle, endAngle, anticlockwise);
@@ -2567,6 +2551,11 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
}
+
+ /** Deprecated always returns 1.0 */
+ @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRation')
+ @Experimental()
+ double get backingStorePixelRatio => 1.0;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698