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

Unified Diff: Source/bindings/dart/scripts/dart_types.py

Issue 906343002: Added enum checks since enums are now supported in the IDL (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 5 years, 10 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 | « Source/bindings/dart/scripts/dart_methods.py ('k') | Source/bindings/dart/scripts/dart_utilities.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/scripts/dart_types.py
diff --git a/Source/bindings/dart/scripts/dart_types.py b/Source/bindings/dart/scripts/dart_types.py
index 3b957673c7ca1d790f57d0f2b93c54ebc186dd09..7ae64fc6cd1edf95e2d4b077ad89c598403af4b9 100644
--- a/Source/bindings/dart/scripts/dart_types.py
+++ b/Source/bindings/dart/scripts/dart_types.py
@@ -198,6 +198,8 @@ IdlTypeBase.native_array_element_type = None
IdlArrayOrSequenceType.native_array_element_type = property(
lambda self: self.element_type)
+IdlTypeBase.enum_validation_expression = property(DartUtilities.enum_validation_expression)
+
def cpp_template_type(template, inner_type):
"""Returns C++ template specialized to type, with space added if needed."""
« no previous file with comments | « Source/bindings/dart/scripts/dart_methods.py ('k') | Source/bindings/dart/scripts/dart_utilities.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698