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

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

Issue 2573713002: [Bindings][Refactoring] Remove filters for origin trial features (Closed)
Patch Set: Rebase Created 4 years 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 e8525547fdf4db52c9a21efbd6ffdff8c6980deb..b97e117fa464fb9b60d1c6e262ef218be747e75e 100644
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
@@ -164,12 +164,12 @@ class {{v8_class}} {
{% endfor %}
{% endif %}
- {% for origin_trial_feature in origin_trial_features %}
+ {% for feature in origin_trial_features %}
- static void install{{origin_trial_feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface);
- static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8::Object> instance);
- {% if not origin_trial_feature.needs_instance %}
- static void install{{origin_trial_feature.name}}(ScriptState*);
+ static void install{{feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface);
+ static void install{{feature.name}}(ScriptState*, v8::Local<v8::Object> instance);
+ {% if not feature.needs_instance %}
+ static void install{{feature.name}}(ScriptState*);
{% endif %}
{% endfor %}
{% if has_partial_interface %}

Powered by Google App Engine
This is Rietveld 408576698