| Index: third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/idl_types.py b/third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| index 67edb06898dc0a5456856db49e41b9cc36be6a3a..b5933322a3bb6100db9f885726f10242449d0712 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/idl_types.py
|
| @@ -363,6 +363,14 @@ class IdlArrayOrSequenceType(IdlTypeBase):
|
| return True
|
|
|
| @property
|
| + def is_array_type(self):
|
| + return False
|
| +
|
| + @property
|
| + def is_sequence_type(self):
|
| + return False
|
| +
|
| + @property
|
| def is_frozen_array(self):
|
| return False
|
|
|
| @@ -391,6 +399,10 @@ class IdlArrayType(IdlArrayOrSequenceType):
|
| def name(self):
|
| return self.element_type.name + 'Array'
|
|
|
| + @property
|
| + def is_array_type(self):
|
| + return True
|
| +
|
|
|
| class IdlSequenceType(IdlArrayOrSequenceType):
|
| def __init__(self, element_type):
|
| @@ -403,6 +415,10 @@ class IdlSequenceType(IdlArrayOrSequenceType):
|
| def name(self):
|
| return self.element_type.name + 'Sequence'
|
|
|
| + @property
|
| + def is_sequence_type(self):
|
| + return True
|
| +
|
|
|
| class IdlFrozenArrayType(IdlArrayOrSequenceType):
|
| def __init__(self, element_type):
|
| @@ -420,7 +436,6 @@ class IdlFrozenArrayType(IdlArrayOrSequenceType):
|
| return True
|
|
|
|
|
| -
|
| ################################################################################
|
| # IdlNullableType
|
| ################################################################################
|
|
|