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

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

Issue 12082122: Add supported checks to the SVG library, and library cleanup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index c82e8618cb1f4a739016ab86e7cd2d0315032e57..e293dd0e01fc56d603c82aa017e0e7c56cc290b3 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -235,7 +235,11 @@ class DartiumBackend(HtmlDartGenerator):
def GetSupportCheck(self):
# Assume that everything is supported on Dartium.
- return 'true'
+ value = js_support_checks.get(self._interface.doc_js_name)
+ if type(value) == tuple:
+ return (value[0], 'true')
+ else:
+ return 'true'
def FinishInterface(self):
self._GenerateCPPHeader()

Powered by Google App Engine
This is Rietveld 408576698