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

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

Issue 14634011: move top-level internal methods into a class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a8459d12bff2cfdb186098393f81b7e279e65ed7..deb69d8182528e72a9b1347055fed7ac03a7de3c 100644
--- a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate
@@ -55,7 +55,7 @@ $!MEMBERS
// Create content
if (template is! TemplateElement) {
- var doc = _getTemplateContentsOwner(template.document);
+ var doc = _Bindings._getTemplateContentsOwner(template.document);
template._templateContent = doc.createDocumentFragment();
}
@@ -65,9 +65,9 @@ $!MEMBERS
}
if (template is TemplateElement) {
- _bootstrapTemplatesRecursivelyFrom(template.content);
+ bootstrap(template.content);
} else {
- _liftNonNativeTemplateChildrenIntoContent(template);
+ _Bindings._liftNonNativeChildrenIntoContent(template);
}
return true;
@@ -83,7 +83,7 @@ $!MEMBERS
// TODO(rafaelw): Review whether this is the right public API.
@Experimental
static void bootstrap(Node content) {
- _bootstrapTemplatesRecursivelyFrom(content);
+ _Bindings._bootstrapTemplatesRecursivelyFrom(content);
}
static bool _initStyles;
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698