| Index: lib/html/dartium/html_dartium.dart
|
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
|
| index a6f7a434f687227d69372ec7c36ed618f992edd0..882d9e502cd6b6f43f82f5219d9cd86df4db401d 100644
|
| --- a/lib/html/dartium/html_dartium.dart
|
| +++ b/lib/html/dartium/html_dartium.dart
|
| @@ -39,6 +39,9 @@ Document get document() {
|
|
|
| Document get _document() => _window.document;
|
|
|
| +Element query(String selector) => _document.query(selector);
|
| +ElementList queryAll(String selector) => _document.queryAll(selector);
|
| +
|
| class _Null {
|
| const _Null();
|
| }
|
| @@ -8642,8 +8645,6 @@ class _HTMLButtonElementImpl extends _HTMLElementImpl implements ButtonElement {
|
| // 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.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| class _HTMLCanvasElementImpl extends _HTMLElementImpl implements CanvasElement {
|
|
|
| int get height() native "HTMLCanvasElement_height_Getter";
|
| @@ -8658,6 +8659,8 @@ class _HTMLCanvasElementImpl extends _HTMLElementImpl implements CanvasElement {
|
|
|
| String toDataURL(String type) native "HTMLCanvasElement_toDataURL_Callback";
|
|
|
| +
|
| + CanvasRenderingContext2D get context2d() => getContext('2d');
|
| }
|
| // 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
|
|
|