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

Unified Diff: tools/dom/scripts/htmldartgenerator.py

Issue 14708003: Remove outdated DOM generation check (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmldartgenerator.py
diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py
index 6ecb34e66d91d7330f2c1998fd03afb5b76a0af9..fb116d176b6c3dc67b0ee815a1acf9df9c225397 100644
--- a/tools/dom/scripts/htmldartgenerator.py
+++ b/tools/dom/scripts/htmldartgenerator.py
@@ -147,7 +147,7 @@ class HtmlDartGenerator(object):
dom_name = DartDomNameOfAttribute(attribute)
attr_name = self._renamer.RenameMember(
self._interface.id, attribute, dom_name, 'get:')
- if not attr_name or self._IsPrivate(attr_name):
+ if not attr_name:
return
html_setter_name = self._renamer.RenameMember(
@@ -597,6 +597,3 @@ class HtmlDartGenerator(object):
def _DartType(self, type_name):
return self._type_registry.DartType(type_name)
-
- def _IsPrivate(self, name):
- return name.startswith('_')
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698