Index: third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
index 5357fe9235a04845fc81fc692f678e8deedc67b3..4b27524230bda7e0049fb2fcad2b3690aa65ad85 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
@@ -67,6 +67,10 @@ def attribute_context(interface, attribute): |
# are not methods. Constructors must be data-type properties, and we can |
# support them as a kind of methods. |
constructor_type = idl_type.constructor_type_name if is_constructor_attribute(attribute) else None |
+ # [CEReactions] |
+ is_ce_reactions = 'CEReactions' in extended_attributes |
+ if is_ce_reactions: |
+ includes.add('core/dom/custom/CEReactionsScope.h') |
# [CustomElementCallbacks], [Reflect] |
is_custom_element_callbacks = 'CustomElementCallbacks' in extended_attributes |
is_reflect = 'Reflect' in extended_attributes |
@@ -121,6 +125,7 @@ def attribute_context(interface, attribute): |
'idl_type': str(idl_type), # need trailing [] on array for Dictionary::ConversionContext::setConversionType |
'is_call_with_execution_context': has_extended_attribute_value(attribute, 'CallWith', 'ExecutionContext'), |
'is_call_with_script_state': has_extended_attribute_value(attribute, 'CallWith', 'ScriptState'), |
+ 'is_ce_reactions': is_ce_reactions, |
'is_check_security_for_receiver': is_check_security_for_receiver, |
'is_check_security_for_return_value': is_check_security_for_return_value, |
'is_custom_element_callbacks': is_custom_element_callbacks, |