| 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 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 {% if attributes|origin_trial_enabled_attributes %} | 13 {% if origin_trial_attributes %} |
| 14 class ScriptState; | 14 class ScriptState; |
| 15 {% endif %} | 15 {% endif %} |
| 16 | 16 |
| 17 class {{v8_class_or_partial}} { | 17 class {{v8_class_or_partial}} { |
| 18 STATIC_ONLY({{v8_class_or_partial}}); | 18 STATIC_ONLY({{v8_class_or_partial}}); |
| 19 public: | 19 public: |
| 20 static void initialize(); | 20 static void initialize(); |
| 21 {% for method in methods if method.is_custom %} | 21 {% for method in methods if method.is_custom %} |
| 22 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::Val
ue>&); | 22 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::Val
ue>&); |
| 23 {% endfor %} | 23 {% endfor %} |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interfaceTemplate); | 46 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&,
v8::Local<v8::FunctionTemplate> interfaceTemplate); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| 50 | 50 |
| 51 #endif // {{v8_class_or_partial}}_h | 51 #endif // {{v8_class_or_partial}}_h |
| 52 | 52 |
| 53 {% endfilter %}{# format_blink_cpp_source_code #} | 53 {% endfilter %}{# format_blink_cpp_source_code #} |
| OLD | NEW |