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

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

Issue 10827428: Dispatch with conversion hooks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: table 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
Index: lib/dom/templates/html/dart2js/html_dart2js.darttemplate
diff --git a/lib/dom/templates/html/dart2js/html_dart2js.darttemplate b/lib/dom/templates/html/dart2js/html_dart2js.darttemplate
index 6c07d08ed56b74e05cc6c0434b1eddae9298cc54..a01ac8303396a1d5ce8f61d456899e228aa350eb 100644
--- a/lib/dom/templates/html/dart2js/html_dart2js.darttemplate
+++ b/lib/dom/templates/html/dart2js/html_dart2js.darttemplate
@@ -22,6 +22,7 @@ $!GENERATED_DART_FILES
#source('../../html/src/Isolates.dart');
#source('../../html/src/Measurement.dart');
#source('../../html/src/shared_FactoryProviders.dart');
+#source('../../html/src/dart2js_Conversions.dart');
#source('../../html/src/dart2js_DOMImplementation.dart');
#source('../../html/src/dart2js_FactoryProviders.dart');
#source('../../html/src/dart2js_IDBKeyRangeFactoryProvider.dart');
@@ -44,6 +45,13 @@ _DocumentImpl get _document() native "return document;";
Element query(String selector) => _document.query(selector);
ElementList queryAll(String selector) => _document.queryAll(selector);
+/// Marker for defaulted arguments.
+class _Default {
+ const _Default();
+}
+
+final _default = const _Default();
+
// Workaround for tags like <cite> that lack their own Element subclass --
// Dart issue 1990.
class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" {

Powered by Google App Engine
This is Rietveld 408576698