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

Unified Diff: lib/dom/dart2js/dom_dart2js.dart

Issue 10827399: Add an optional argument to HTMLCanvasElement.toDataURL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | lib/dom/dom.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dart2js/dom_dart2js.dart
diff --git a/lib/dom/dart2js/dom_dart2js.dart b/lib/dom/dart2js/dom_dart2js.dart
index 0ff64956d5d7c01649e168865da1677ef898e362..89abd9307db085741efe076f6df195df7dd90d17 100644
--- a/lib/dom/dart2js/dom_dart2js.dart
+++ b/lib/dom/dart2js/dom_dart2js.dart
@@ -2821,7 +2821,7 @@ class _HTMLCanvasElementJs extends _HTMLElementJs implements HTMLCanvasElement n
Object getContext(String contextId) native;
- String toDataURL(String type) native;
+ String toDataURL(String type, [num quality]) native;
}
class _HTMLCollectionJs extends _DOMTypeJs implements HTMLCollection native "*HTMLCollection" {
@@ -15539,7 +15539,7 @@ interface HTMLCanvasElement extends HTMLElement {
Object getContext(String contextId);
- String toDataURL(String type);
+ String toDataURL(String type, [num quality]);
}
// 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 | « no previous file | lib/dom/dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698