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

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

Issue 24491003: Revert "Revert "Start of 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 8547aff283dac89f77fd706d2d482f767e85d747..8157f18b8b84483b864e33eba11fb1dbab7553a7 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -12827,9 +12827,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') | tools/dom/templates/html/impl/impl_Document.darttemplate » ('J')

Powered by Google App Engine
This is Rietveld 408576698