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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 3451 matching lines...) Expand 10 before | Expand all | Expand 10 after
3462 // WARNING: Do not edit - generated code. 3462 // WARNING: Do not edit - generated code.
3463 3463
3464 interface HTMLCanvasElement extends HTMLElement { 3464 interface HTMLCanvasElement extends HTMLElement {
3465 3465
3466 int height; 3466 int height;
3467 3467
3468 int width; 3468 int width;
3469 3469
3470 Object getContext(String contextId); 3470 Object getContext(String contextId);
3471 3471
3472 String toDataURL(String type); 3472 String toDataURL(String type, [num quality]);
3473 } 3473 }
3474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3475 // for details. All rights reserved. Use of this source code is governed by a 3475 // for details. All rights reserved. Use of this source code is governed by a
3476 // BSD-style license that can be found in the LICENSE file. 3476 // BSD-style license that can be found in the LICENSE file.
3477 3477
3478 // WARNING: Do not edit - generated code. 3478 // WARNING: Do not edit - generated code.
3479 3479
3480 interface HTMLCollection extends List<Node> { 3480 interface HTMLCollection extends List<Node> {
3481 3481
3482 final int length; 3482 final int length;
(...skipping 9601 matching lines...) Expand 10 before | Expand all | Expand 10 after
13084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13085 // for details. All rights reserved. Use of this source code is governed by a 13085 // for details. All rights reserved. Use of this source code is governed by a
13086 // BSD-style license that can be found in the LICENSE file. 13086 // BSD-style license that can be found in the LICENSE file.
13087 13087
13088 Window get window() => _dummy(); 13088 Window get window() => _dummy();
13089 13089
13090 // TODO(vsm): Remove when prefixes are supported. 13090 // TODO(vsm): Remove when prefixes are supported.
13091 Window get dom_window() => _dummy(); 13091 Window get dom_window() => _dummy();
13092 13092
13093 Document get document() => _dummy(); 13093 Document get document() => _dummy();
OLDNEW
« 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