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

Unified Diff: Source/bindings/templates/interface.h

Issue 1233483002: Add counters for add/removeEventListener() called with one argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Count in CallPrologue instead Created 5 years, 5 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: Source/bindings/templates/interface.h
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h
index 8373a8ef838424449064ebc4561a66231a081a16..32430c476e2b97c043933cd875606cbe2e04aa0d 100644
--- a/Source/bindings/templates/interface.h
+++ b/Source/bindings/templates/interface.h
@@ -82,6 +82,11 @@ public:
static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::Value>&);
{% endfilter %}
{% endif %}
+ {% if method.is_custom_call_prologue %}
+ {% filter conditional(method.conditional_string) %}
haraken 2015/07/10 09:32:20 conditional is deprecated (I think it's used only
philipj_slow 2015/07/10 09:41:27 Should I remove it for the call epilogue as well?
haraken 2015/07/10 09:50:52 Sounds nicer :)
philipj_slow 2015/07/10 11:10:57 Done.
+ static void {{method.name}}MethodPrologueCustom(const v8::FunctionCallbackInfo<v8::Value>&, {{cpp_class}}*);
+ {% endfilter %}
+ {% endif %}
{% if method.is_custom_call_epilogue %}
{% filter conditional(method.conditional_string) %}
static void {{method.name}}MethodEpilogueCustom(const v8::FunctionCallbackInfo<v8::Value>&, {{cpp_class}}*);

Powered by Google App Engine
This is Rietveld 408576698