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

Unified Diff: sdk/lib/html/templates/html/impl/impl_CustomEvent.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/impl/impl_CustomEvent.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_ShadowRoot.darttemplate b/sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
similarity index 61%
copy from sdk/lib/html/templates/html/impl/impl_ShadowRoot.darttemplate
copy to sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
index 32c953a0f895e91db3676c694d43d22f36f01170..d76c0383a20bd3dffe3d1beeef1b015708c4fcd2 100644
--- a/sdk/lib/html/templates/html/impl/impl_ShadowRoot.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
@@ -5,11 +5,8 @@
// WARNING: Do not edit - generated code.
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
+ factory $CLASSNAME(String type, [bool canBubble = true, bool cancelable = true,
+ Object detail]) => _$(CLASSNAME)FactoryProvider.create$CLASSNAME(
+ type, canBubble, cancelable, detail);
$!MEMBERS
-$if DART2JS
- static bool get supported =>
- JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
-$else
- static bool get supported => _Utils.shadowRootSupported(window.document);
-$endif
}

Powered by Google App Engine
This is Rietveld 408576698