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

Unified Diff: Source/bindings/scripts/idl_types.py

Issue 360703003: Implement Blink-in-JS for DOM methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/bindings/scripts/idl_types.py
diff --git a/Source/bindings/scripts/idl_types.py b/Source/bindings/scripts/idl_types.py
index 9de8efc16d3feaba5c400b431b04c6217290b98a..74e07b1d4038f254a6f3ae0c1e728b3b527e4410 100644
--- a/Source/bindings/scripts/idl_types.py
+++ b/Source/bindings/scripts/idl_types.py
@@ -328,10 +328,18 @@ class IdlUnionType(object):
return False
@property
+ def is_typed_array_type(self):
Jens Widell 2014/06/30 18:32:37 A bit asymmetrical I suppose to implement this her
haraken 2014/07/01 04:09:55 Done.
+ return False
+
+ @property
def is_union_type(self):
return True
@property
+ def may_raise_exception_on_conversion(self):
+ return False
+
+ @property
def name(self):
return 'Or'.join(member_type.name for member_type in self.member_types)

Powered by Google App Engine
This is Rietveld 408576698