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

Unified Diff: Source/bindings/templates/methods.cpp

Issue 1159653002: [bindings] Introduce PostMessage extended keyword (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bindings change alone Created 5 years, 7 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
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/bindings/tests/idls/core/TestObject.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/methods.cpp
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
index bec96edb174c10a2f3f85a8733cc9d252b4e4f78..f681a914af5f64d75108997b2c1781e920b89473 100644
--- a/Source/bindings/templates/methods.cpp
+++ b/Source/bindings/templates/methods.cpp
@@ -472,6 +472,8 @@ static void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCall
{% endif %}
{% if method.is_custom %}
{{v8_class}}::{{method.name}}MethodCustom(info);
+ {% elif method.is_post_message%}
+ postMessageMethodCommon("{{interface_name}}", {{v8_class}}::toImpl(info.Holder()), info);
haraken 2015/05/25 11:37:45 Nit: I'd rename this to postMessageImpl, but you c
vivekg 2015/05/25 11:40:00 Sure, I will change it in the follow up CL. Thanks
{% else %}
{{cpp_class_or_partial}}V8Internal::{{method.name}}Method{{world_suffix}}(info);
{% endif %}
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/bindings/tests/idls/core/TestObject.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698