| 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_utilities | 5 import v8_utilities |
| 6 | 6 |
| 7 | 7 |
| 8 UNION_H_INCLUDES = frozenset([ | 8 UNION_H_INCLUDES = frozenset([ |
| 9 'bindings/core/v8/Dictionary.h', | 9 'bindings/core/v8/Dictionary.h', |
| 10 'bindings/core/v8/ExceptionState.h', | 10 'bindings/core/v8/ExceptionState.h', |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 'cpp_value_to_v8_value': member.cpp_value_to_v8_value( | 143 'cpp_value_to_v8_value': member.cpp_value_to_v8_value( |
| 144 cpp_value='impl.getAs%s()' % member.name, isolate='isolate', | 144 cpp_value='impl.getAs%s()' % member.name, isolate='isolate', |
| 145 creation_context='creationContext'), | 145 creation_context='creationContext'), |
| 146 'enum_validation_expression': member.enum_validation_expression, | 146 'enum_validation_expression': member.enum_validation_expression, |
| 147 'is_traceable': member.is_traceable, | 147 'is_traceable': member.is_traceable, |
| 148 'rvalue_cpp_type': member.cpp_type_args(used_as_rvalue_type=True), | 148 'rvalue_cpp_type': member.cpp_type_args(used_as_rvalue_type=True), |
| 149 'specific_type_enum': 'SpecificType' + member.name, | 149 'specific_type_enum': 'SpecificType' + member.name, |
| 150 'type_name': member.name, | 150 'type_name': member.name, |
| 151 'v8_value_to_local_cpp_value': member.v8_value_to_local_cpp_value( | 151 'v8_value_to_local_cpp_value': member.v8_value_to_local_cpp_value( |
| 152 {}, 'v8Value', 'cppValue', isolate='isolate', | 152 {}, 'v8Value', 'cppValue', isolate='isolate', |
| 153 needs_exception_state_for_string=True), | 153 needs_exception_state_for_string=True, restricted_float=True), |
| 154 } | 154 } |
| OLD | NEW |