Chromium Code Reviews| Index: Source/bindings/scripts/v8_attributes.py |
| diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py |
| index 3ba0ca64dc93ae82175d269a008882e96f1d7109..d79a8985c27e10ac1befc45ad703d1fb2c91e12b 100644 |
| --- a/Source/bindings/scripts/v8_attributes.py |
| +++ b/Source/bindings/scripts/v8_attributes.py |
| @@ -82,12 +82,14 @@ def generate_attribute(interface, attribute): |
| 'access_control_list': access_control_list(attribute), |
| 'activity_logging_world_list_for_getter': v8_utilities.activity_logging_world_list(attribute, 'Getter'), # [ActivityLogging] |
| 'activity_logging_world_list_for_setter': v8_utilities.activity_logging_world_list(attribute, 'Setter'), # [ActivityLogging] |
| + 'activity_logging_include_old_value_for_setter': ('LogPreviousValue' in extended_attributes), # [ActivityLogging] |
|
Nils Barth (inactive)
2014/04/23 03:04:42
No parentheses.
(Only need if doing line continuat
Devlin
2014/04/23 18:28:02
Done.
|
| 'cached_attribute_validation_method': extended_attributes.get('CachedAttribute'), |
| 'conditional_string': v8_utilities.conditional_string(attribute), |
| 'constructor_type': idl_type.constructor_type_name |
| if is_constructor_attribute(attribute) else None, |
| 'cpp_name': cpp_name(attribute), |
| 'cpp_type': idl_type.cpp_type, |
| + 'cpp_value_to_v8_value': idl_type.cpp_value_to_v8_value(cpp_value='original', isolate='info.GetIsolate()', creation_context='v8::Handle<v8::Object>()'), |
|
Nils Barth (inactive)
2014/04/23 03:04:42
Don't need isolate='info.GetIsolate()', as that's
Devlin
2014/04/23 18:28:02
Ah, so it is. Removed.
|
| 'deprecate_as': v8_utilities.deprecate_as(attribute), # [DeprecateAs] |
| 'enum_validation_expression': idl_type.enum_validation_expression, |
| 'has_custom_getter': has_custom_getter, |