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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 {% if has_partial_interface %} | 265 {% if has_partial_interface %} |
266 private: | 266 private: |
267 static InstallTemplateFunction install{{v8_class}}TemplateFunction; | 267 static InstallTemplateFunction install{{v8_class}}TemplateFunction; |
268 {% endif %} | 268 {% endif %} |
269 }; | 269 }; |
270 | 270 |
271 {% if has_event_constructor %} | 271 {% if has_event_constructor %} |
272 {{exported}}bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&,
ExceptionState&, const v8::FunctionCallbackInfo<v8::Value>& info); | 272 {{exported}}bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&,
ExceptionState&, const v8::FunctionCallbackInfo<v8::Value>& info); |
273 | 273 |
274 {% endif %} | 274 {% endif %} |
| 275 |
275 template <> | 276 template <> |
276 struct V8TypeOf<{{cpp_class}}> { | 277 struct V8TypeOf<{{cpp_class}}> { |
277 typedef {{v8_class}} Type; | 278 typedef {{v8_class}} Type; |
278 }; | 279 }; |
279 | 280 |
280 } // namespace blink | 281 } // namespace blink |
281 | 282 |
282 #endif // {{v8_class}}_h | 283 #endif // {{v8_class}}_h |
283 | 284 |
284 {% endfilter %}{# format_blink_cpp_source_code #} | 285 {% endfilter %}{# format_blink_cpp_source_code #} |
OLD | NEW |