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 16 matching lines...) Expand all Loading... |
27 {% endif %} | 27 {% endif %} |
28 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_by
#} | 28 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_by
#} |
29 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, cons
t v8::PropertyCallbackInfo<void>&); | 29 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, cons
t v8::PropertyCallbackInfo<void>&); |
30 {% endif %} | 30 {% endif %} |
31 {% endfor %} | 31 {% endfor %} |
32 {% if unscopables or has_conditional_attributes_on_prototype or | 32 {% if unscopables or has_conditional_attributes_on_prototype or |
33 methods | conditionally_exposed(is_partial) %} | 33 methods | conditionally_exposed(is_partial) %} |
34 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D
OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F
unctionTemplate>); | 34 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D
OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F
unctionTemplate>); |
35 {% endif %} | 35 {% endif %} |
36 {% for origin_trial_feature in origin_trial_features %}{{newline}} | 36 {% for origin_trial_feature in origin_trial_features %}{{newline}} |
37 static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8::O
bject> instance); | 37 static void install{{origin_trial_feature.name}}(const ScriptState*, v8::Local
<v8::Object> instance); |
38 static void install{{origin_trial_feature.name}}(v8::Isolate*, const DOMWrappe
rWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Lo
cal<v8::Function> interface); | 38 static void install{{origin_trial_feature.name}}(const ScriptState*, v8::Local
<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function>
interface); |
39 {% if not origin_trial_feature.needs_instance %} | 39 {% if not origin_trial_feature.needs_instance %} |
40 static void install{{origin_trial_feature.name}}(ScriptState*); | 40 static void install{{origin_trial_feature.name}}(const ScriptState*); |
41 {% endif %} | 41 {% endif %} |
42 {% endfor %} | 42 {% endfor %} |
43 private: | 43 private: |
44 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interfaceTemplate); | 44 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interfaceTemplate); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace blink | 47 } // namespace blink |
48 | 48 |
49 #endif // {{v8_class_or_partial}}_h | 49 #endif // {{v8_class_or_partial}}_h |
50 | 50 |
51 {% endfilter %}{# format_blink_cpp_source_code #} | 51 {% endfilter %}{# format_blink_cpp_source_code #} |
OLD | NEW |