| 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 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 {% if has_event_constructor %} | 13 {% if has_event_constructor %} |
| 14 class Dictionary; | 14 class Dictionary; |
| 15 {% endif %} | 15 {% endif %} |
| 16 {% if origin_trial_attributes %} | 16 {% if origin_trial_features %} |
| 17 class ScriptState; | 17 class ScriptState; |
| 18 {% endif %} | 18 {% endif %} |
| 19 {% if named_constructor %} | 19 {% if named_constructor %} |
| 20 class {{v8_class}}Constructor { | 20 class {{v8_class}}Constructor { |
| 21 STATIC_ONLY({{v8_class}}Constructor); | 21 STATIC_ONLY({{v8_class}}Constructor); |
| 22 public: | 22 public: |
| 23 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap
perWorld&); | 23 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap
perWorld&); |
| 24 {{exported}}static void NamedConstructorAttributeGetter(v8::Local<v8::Name> pr
opertyName, const v8::PropertyCallbackInfo<v8::Value>& info); | 24 {{exported}}static void NamedConstructorAttributeGetter(v8::Local<v8::Name> pr
opertyName, const v8::PropertyCallbackInfo<v8::Value>& info); |
| 25 {{exported}}static const WrapperTypeInfo wrapperTypeInfo; | 25 {{exported}}static const WrapperTypeInfo wrapperTypeInfo; |
| 26 }; | 26 }; |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 template <> | 281 template <> |
| 282 struct V8TypeOf<{{cpp_class}}> { | 282 struct V8TypeOf<{{cpp_class}}> { |
| 283 typedef {{v8_class}} Type; | 283 typedef {{v8_class}} Type; |
| 284 }; | 284 }; |
| 285 | 285 |
| 286 } // namespace blink | 286 } // namespace blink |
| 287 | 287 |
| 288 #endif // {{v8_class}}_h | 288 #endif // {{v8_class}}_h |
| 289 | 289 |
| 290 {% endfilter %}{# format_blink_cpp_source_code #} | 290 {% endfilter %}{# format_blink_cpp_source_code #} |
| OLD | NEW |