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

Unified Diff: lib/html/templates/html/dart2js/html_dart2js.darttemplate

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding generated files. Created 8 years, 1 month 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
Index: lib/html/templates/html/dart2js/html_dart2js.darttemplate
diff --git a/lib/html/templates/html/dart2js/html_dart2js.darttemplate b/lib/html/templates/html/dart2js/html_dart2js.darttemplate
index fe44af3b412fd42ee1ed08995066f9ea4900b5b3..865bf442b097c965aab22f4eb77325d4cad2d8e4 100644
--- a/lib/html/templates/html/dart2js/html_dart2js.darttemplate
+++ b/lib/html/templates/html/dart2js/html_dart2js.darttemplate
@@ -38,18 +38,15 @@ part '$AUXILIARY_DIR/_Lists.dart';
LocalWindow get window => JS('LocalWindow', 'window');
-_LocalWindowImpl get _window => JS('_LocalWindowImpl', 'window');
Document get document => JS('Document', 'document');
-_DocumentImpl get _document => JS('_DocumentImpl', 'document');
-
-Element query(String selector) => _document.query(selector);
-List<Element> queryAll(String selector) => _document.queryAll(selector);
+Element query(String selector) => document.query(selector);
+List<Element> queryAll(String selector) => document.queryAll(selector);
// Workaround for tags like <cite> that lack their own Element subclass --
// Dart issue 1990.
-class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" {
+class HTMLElement extends Element native "*HTMLElement" {
}
// Support for Send/ReceivePortSync.

Powered by Google App Engine
This is Rietveld 408576698