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

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

Issue 14651019: Changing metadata lookup to always use interface.id (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/scripts/htmleventgenerator.py ('k') | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index 1f566e749d3434a78c1f2910960897022bb2d2f5..013e35b85f4f7dc4cb28a48ef8628259dd31fef7 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -530,7 +530,7 @@ class HtmlDartInterfaceGenerator(object):
base_class = 'Object'
annotations = self._metadata.GetFormattedMetadata(
- self._library_name, self._interface.doc_js_name, '')
+ self._library_name, self._interface, None, '')
class_modifiers = ''
if self._renamer.ShouldSuppressInterface(self._interface):
@@ -1046,7 +1046,7 @@ class Dart2JSBackend(HtmlDartGenerator):
def _Metadata(self, idl_type, idl_member_name, indent=' '):
anns = self._metadata.GetDart2JSMetadata(
- idl_type, self._library_name, self._interface.id, idl_member_name)
+ idl_type, self._library_name, self._interface, idl_member_name)
if not self._metadata.AnyConversionAnnotations(
idl_type, self._interface.id, idl_member_name):
« no previous file with comments | « tools/dom/scripts/htmleventgenerator.py ('k') | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698