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

Unified Diff: sdk/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: Fixing merged classes in dartium not compiling under dartc. 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: sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
diff --git a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
index d99ed226ad0598e6d4b3313338dbcc94da4a3a9f..cfd1e673b651f38a5aca98305ad624dc31d6d6cf 100644
--- a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
+++ b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
@@ -39,18 +39,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.
« no previous file with comments | « sdk/lib/html/templates/dart2js_impl.darttemplate ('k') | sdk/lib/html/templates/html/dart2js/impl_CanvasElement.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698