OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import v8_types | 5 import v8_types |
6 import v8_utilities | 6 import v8_utilities |
7 | 7 |
8 | 8 |
9 UNION_CPP_INCLUDES = frozenset([ | 9 UNION_CPP_INCLUDES = frozenset([ |
10 'bindings/core/v8/ToV8.h', | 10 'bindings/core/v8/ToV8ForCore.h', |
11 ]) | 11 ]) |
12 | 12 |
13 UNION_H_INCLUDES = frozenset([ | 13 UNION_H_INCLUDES = frozenset([ |
14 'bindings/core/v8/Dictionary.h', | 14 'bindings/core/v8/Dictionary.h', |
15 'bindings/core/v8/ExceptionState.h', | 15 'bindings/core/v8/ExceptionState.h', |
16 'bindings/core/v8/NativeValueTraits.h', | 16 'bindings/core/v8/NativeValueTraits.h', |
17 'bindings/core/v8/V8Binding.h', | 17 'bindings/core/v8/V8Binding.h', |
18 'platform/heap/Handle.h', | 18 'platform/heap/Handle.h', |
19 ]) | 19 ]) |
20 | 20 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 'is_array_buffer_or_view_type': member.is_array_buffer_or_view, | 163 'is_array_buffer_or_view_type': member.is_array_buffer_or_view, |
164 'is_array_buffer_view_or_typed_array': member.is_array_buffer_view_or_ty
ped_array, | 164 'is_array_buffer_view_or_typed_array': member.is_array_buffer_view_or_ty
ped_array, |
165 'is_traceable': member.is_traceable, | 165 'is_traceable': member.is_traceable, |
166 'rvalue_cpp_type': member.cpp_type_args(used_as_rvalue_type=True), | 166 'rvalue_cpp_type': member.cpp_type_args(used_as_rvalue_type=True), |
167 'specific_type_enum': 'SpecificType' + member.name, | 167 'specific_type_enum': 'SpecificType' + member.name, |
168 'type_name': member.name, | 168 'type_name': member.name, |
169 'v8_value_to_local_cpp_value': member.v8_value_to_local_cpp_value( | 169 'v8_value_to_local_cpp_value': member.v8_value_to_local_cpp_value( |
170 {}, 'v8Value', 'cppValue', isolate='isolate', | 170 {}, 'v8Value', 'cppValue', isolate='isolate', |
171 use_exception_state=True) | 171 use_exception_state=True) |
172 } | 172 } |
OLD | NEW |