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

Unified Diff: third_party/WebKit/Source/bindings/templates/interface.h.tmpl

Issue 2622153002: [Bindings] Implement installRuntimeEnabledFeatures method on some classes (Closed)
Patch Set: Work for comments Created 3 years, 11 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/interface.h.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
index e72747618e3b6dcd3e45258aa294dcd8ac9aa79d..acec9d28e08e2e462165ee0b6d4da5cc3c4f8bf0 100644
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
@@ -148,6 +148,10 @@ class {{v8_class}} {
{% endfor %}
{% endif %}
+ {% if needs_runtime_enabled_installer %}
+ static void installRuntimeEnabledFeatures(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::FunctionTemplate>);
Yuki 2017/01/11 11:30:57 Could you write argument names for non-trivial cas
peria 2017/01/11 12:41:16 Done.
+ {% endif %}
+
{% for feature in origin_trial_features %}
static void install{{feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface);

Powered by Google App Engine
This is Rietveld 408576698