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}}_h | 4 #ifndef {{v8_class}}_h |
5 #define {{v8_class}}_h | 5 #define {{v8_class}}_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 DECLARE_VIRTUAL_TRACE(); | 21 DECLARE_VIRTUAL_TRACE(); |
22 | 22 |
23 {% for method in methods %} | 23 {% for method in methods %} |
24 {{method.cpp_type}} {{method.name}}({{method.argument_declarations | join(', '
)}}) override; | 24 {{method.cpp_type}} {{method.name}}({{method.argument_declarations | join(', '
)}}) override; |
25 {% endfor %} | 25 {% endfor %} |
26 | 26 |
27 private: | 27 private: |
28 {{exported}}{{v8_class}}(v8::Local<v8::Function>, ScriptState*); | 28 {{exported}}{{v8_class}}(v8::Local<v8::Function>, ScriptState*); |
29 | 29 |
30 ScopedPersistent<v8::Function> m_callback; | 30 ScopedPersistent<v8::Function> m_callback; |
31 RefPtr<ScriptState> m_scriptState; | 31 RefPtr<ScriptState> script_state_; |
32 }; | 32 }; |
33 | 33 |
34 } | 34 } |
35 #endif // {{v8_class}}_h | 35 #endif // {{v8_class}}_h |
36 | 36 |
37 {% endfilter %}{# format_blink_cpp_source_code #} | 37 {% endfilter %}{# format_blink_cpp_source_code #} |
OLD | NEW |