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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 23817006: Dartium custom element lifecycle event support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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:
Download patch
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 21dbe9771a3282bee417c35a4fe97013621b3582..2f2259cf9ce82311f99182db49eab18d87e5dcf4 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -12813,9 +12813,9 @@ class HtmlDocument extends Document native "HTMLDocument" {
* * UListElement
* * VideoElement
*/
- void register(String tag, Type customElementClass, {String nativeTagName}) {
+ void register(String tag, Type customElementClass, {String extendsTag}) {
_registerCustomElement(JS('', 'window'), this, tag, customElementClass,
- nativeTagName);
+ extendsTag);
}
@Creates('Null') // Set from Dart code; does not instantiate a native type.
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | tests/html/custom/document_register_type_extensions_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698