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

Unified Diff: tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate

Issue 18182010: Make html metadata follow the spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed DocsEditable, Experimental, Unstable Created 7 years, 6 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: tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate
index a65debafa57e07f2c6328870d8ea17541117f6ba..456a455689afbeca2c0de8f570df65bc6a1b8156 100644
--- a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate
@@ -39,7 +39,7 @@ part of $LIBRARYNAME;
*/
// TODO(jmesserly): if this is just one method, a function type would make it
// more Dart-friendly.
-@Experimental
+@Experimental()
abstract class CustomBindingSyntax {
/**
* This syntax method allows for a custom interpretation of the contents of
@@ -99,13 +99,13 @@ abstract class CustomBindingSyntax {
}
-@Experimental
+@Experimental()
$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
$!MEMBERS
// For real TemplateElement use the actual DOM .content field instead of
// our polyfilled expando.
- @Experimental
+ @Experimental()
DocumentFragment get content => $dom_content;
@@ -136,7 +136,7 @@ $!MEMBERS
* Returns true if this template was just decorated, or false if it was
* already decorated.
*/
- @Experimental
+ @Experimental()
static bool decorate(Element template, [Element instanceRef]) {
// == true check because it starts as a null field.
if (template._templateIsDecorated == true) return false;
@@ -254,7 +254,7 @@ $!MEMBERS
* decorate an entire tree recursively.
*/
// TODO(rafaelw): Review whether this is the right public API.
- @Experimental
+ @Experimental()
static void bootstrap(Node content) {
void _bootstrap(template) {
if (!TemplateElement.decorate(template)) {
@@ -305,6 +305,6 @@ option[template] {
* A mapping of names to Custom Syntax objects. See [CustomBindingSyntax] for
* more information.
*/
- @Experimental
+ @Experimental()
static Map<String, CustomBindingSyntax> syntax = {};
}

Powered by Google App Engine
This is Rietveld 408576698