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

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

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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_HTMLTableElement.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate
index 06f540d11aee48b0a7b1e7c093edcabdb4ba2b64..8548c597c9ad632cce1ce1e362a6a6370bcd039d 100644
--- a/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HTMLTableElement.darttemplate
@@ -9,26 +9,26 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
@DomName('HTMLTableElement.tBodies')
List<TableSectionElement> get tBodies =>
- new _WrappedList<TableSectionElement>($dom_tBodies);
+ new _WrappedList<TableSectionElement>(_tBodies);
@DomName('HTMLTableElement.rows')
List<TableRowElement> get rows =>
- new _WrappedList<TableRowElement>($dom_rows);
+ new _WrappedList<TableRowElement>(_rows);
TableRowElement addRow() {
return insertRow(-1);
}
- TableCaptionElement createCaption() => $dom_createCaption();
- TableSectionElement createTBody() => $dom_createTBody();
- TableSectionElement createTFoot() => $dom_createTFoot();
- TableSectionElement createTHead() => $dom_createTHead();
- TableRowElement insertRow(int index) => $dom_insertRow(index);
+ TableCaptionElement createCaption() => _createCaption();
+ TableSectionElement createTBody() => _createTBody();
+ TableSectionElement createTFoot() => _createTFoot();
+ TableSectionElement createTHead() => _createTHead();
+ TableRowElement insertRow(int index) => _insertRow(index);
$if DART2JS
- TableSectionElement $dom_createTBody() {
+ TableSectionElement _createTBody() {
if (JS('bool', '!!#.createTBody', this)) {
- return this._createTBody();
+ return this._nativeCreateTBody();
}
var tbody = new Element.tag('tbody');
this.children.add(tbody);
@@ -36,7 +36,7 @@ $if DART2JS
}
@JSName('createTBody')
- TableSectionElement _createTBody() native;
+ TableSectionElement _nativeCreateTBody() native;
$endif
$!MEMBERS}

Powered by Google App Engine
This is Rietveld 408576698