Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: third_party/WebKit/Source/bindings/templates/attributes.cpp

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/templates/attributes.cpp
diff --git a/third_party/WebKit/Source/bindings/templates/attributes.cpp b/third_party/WebKit/Source/bindings/templates/attributes.cpp
index a63ee63eff341fda31ad43dbecd046cb4db4af98..ccd092281c5264e69acc00c36d0013f130c65466 100644
--- a/third_party/WebKit/Source/bindings/templates/attributes.cpp
+++ b/third_party/WebKit/Source/bindings/templates/attributes.cpp
@@ -388,6 +388,9 @@ const v8::FunctionCallbackInfo<v8::Value>& info
contextData->activityLogger()->logSetter("{{interface_name}}.{{attribute.name}}", v8Value);
}
{% endif %}
+ {% if attribute.is_ce_reactions %}
+ CEReactionsScope ceReactionsScope;
+ {% endif %}
{% if attribute.is_custom_element_callbacks or attribute.is_reflect %}
Yuki 2016/06/07 08:16:57 [CEReactions] is only supported for V1? If so, li
kojii 2016/06/07 09:56:36 [CEReactions] supports only V1, but since we suppo
V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
{% endif %}

Powered by Google App Engine
This is Rietveld 408576698