OLD | NEW |
1 {% filter format_blink_cpp_source_code %} | 1 {% filter format_blink_cpp_source_code %} |
2 | 2 |
3 {% include 'copyright_block.txt' %} | 3 {% include 'copyright_block.txt' %} |
4 #ifndef {{v8_class_or_partial}}_h | 4 #ifndef {{v8_class_or_partial}}_h |
5 #define {{v8_class_or_partial}}_h | 5 #define {{v8_class_or_partial}}_h |
6 | 6 |
7 {% for filename in header_includes %} | 7 {% for filename in header_includes %} |
8 #include "{{filename}}" | 8 #include "{{filename}}" |
9 {% endfor %} | 9 {% endfor %} |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V
alue>&); | 21 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V
alue>&); |
22 {% endfor %} | 22 {% endfor %} |
23 {% for attribute in attributes %} | 23 {% for attribute in attributes %} |
24 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_
by #} | 24 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_
by #} |
25 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); | 25 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); |
26 {% endif %} | 26 {% endif %} |
27 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_
by #} | 27 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_
by #} |
28 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); | 28 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); |
29 {% endif %} | 29 {% endif %} |
30 {% endfor %} | 30 {% endfor %} |
31 {% if unscopeables or has_conditional_attributes_on_prototype or | 31 {% if unscopables or has_conditional_attributes_on_prototype or |
32 methods | conditionally_exposed(is_partial) %} | 32 methods | conditionally_exposed(is_partial) %} |
33 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const
DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8:
:FunctionTemplate>); | 33 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const
DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8:
:FunctionTemplate>); |
34 {% endif %} | 34 {% endif %} |
35 {% for origin_trial_feature in origin_trial_features %}{{newline}} | 35 {% for origin_trial_feature in origin_trial_features %}{{newline}} |
36 static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8:
:Object> instance); | 36 static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8:
:Object> instance); |
37 {% if not origin_trial_feature.needs_instance %} | 37 {% if not origin_trial_feature.needs_instance %} |
38 static void install{{origin_trial_feature.name}}(ScriptState*); | 38 static void install{{origin_trial_feature.name}}(ScriptState*); |
39 {% endif %} | 39 {% endif %} |
40 {% endfor %} | 40 {% endfor %} |
41 private: | 41 private: |
42 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&
, v8::Local<v8::FunctionTemplate> interfaceTemplate); | 42 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&
, v8::Local<v8::FunctionTemplate> interfaceTemplate); |
43 }; | 43 }; |
44 } | 44 } |
45 #endif // {{v8_class_or_partial}}_h | 45 #endif // {{v8_class_or_partial}}_h |
46 | 46 |
47 {% endfilter %}{# format_blink_cpp_source_code #} | 47 {% endfilter %}{# format_blink_cpp_source_code #} |
OLD | NEW |