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

Unified Diff: lib/dom/dom.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 | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index 9ac87f17cfea2358849e0c8e55c634c9026e808a..98a1f69558fe131c079d74faa052ad239d34e8a8 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -3469,7 +3469,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 | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698