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

Unified Diff: client/dom/scripts/idlrenderer.py

Issue 9152018: Remove everything to do with snippets (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « client/dom/scripts/idlparser_test.py ('k') | client/dom/scripts/snippet_manager.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlrenderer.py
diff --git a/client/dom/scripts/idlrenderer.py b/client/dom/scripts/idlrenderer.py
index 2dafc28c80c421a04682cc5fadc1bf2b9391455b..052e950c6e260dea02f08c0e3c5b823a62b1ae34 100755
--- a/client/dom/scripts/idlrenderer.py
+++ b/client/dom/scripts/idlrenderer.py
@@ -77,10 +77,6 @@ def render(idl_node, indent_str=' '):
wln()
wln('/* Operations */')
w(sort(node.operations))
- if node.snippets:
- wln()
- wln('/* Snippets */')
- w(sort(node.snippets))
end_indent()
wln('};')
elif isinstance(node, IDLParentInterface):
@@ -124,9 +120,6 @@ def render(idl_node, indent_str=' '):
w(node.annotations)
w(node.ext_attrs)
wln('const %s %s = %s;' % (node.type.id, node.id, node.value))
- elif isinstance(node, IDLSnippet):
- w(node.annotations)
- wln('snippet {%s};' % node.text)
elif isinstance(node, IDLOperation):
w(node.annotations)
w(node.ext_attrs)
« no previous file with comments | « client/dom/scripts/idlparser_test.py ('k') | client/dom/scripts/snippet_manager.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698