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

Unified Diff: third_party/WebKit/Source/bindings/templates/partial_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/partial_interface.h.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
index 1359c46539cdec5df693b3114ffb7bc2f53173e8..7e7a50291753dc4bdbded829e2097a768e77b954 100644
--- a/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
@@ -42,6 +42,10 @@ class {{v8_class_or_partial}} {
{% endif %}
{% endfor %}
+ {% 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:58 Ditto.
peria 2017/01/11 12:41:17 Done.
+ {% endif %}
+
private:
static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate);
};

Powered by Google App Engine
This is Rietveld 408576698