Index: third_party/WebKit/Source/bindings/templates/interface.h |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h b/third_party/WebKit/Source/bindings/templates/interface.h |
index 36a48b77af2aef6585b9dec94cae274ea3f9094f..a8b4c08e55c7f6ce015747d08fb4779472ca42a7 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h |
@@ -11,6 +11,9 @@ namespace blink { |
{% if has_event_constructor %} |
class Dictionary; |
{% endif %} |
+{% if attributes|origin_trial_enabled_attributes %} |
+class ScriptState; |
+{% endif %} |
{% if named_constructor %} |
class {{v8_class}}Constructor { |
STATIC_ONLY({{v8_class}}Constructor); |
@@ -165,6 +168,9 @@ public: |
{{exported}}static void register{{method.name | blink_capitalize}}MethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
{% endfor %} |
{% endif %} |
+ {% for group in attributes|origin_trial_enabled_attributes|groupby('origin_trial_feature_name') %}{{newline}} |
+ static void install{{group.grouper}}(ScriptState*, v8::Local<v8::Object> instance); |
+ {% endfor %} |
{% if has_partial_interface %} |
private: |