| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 {% endif %} | 153 {% endif %} |
| 154 {% endfor %} | 154 {% endfor %} |
| 155 | 155 |
| 156 // Callback functions | 156 // Callback functions |
| 157 {% for constant in constants | has_special_getter %} | 157 {% for constant in constants | has_special_getter %} |
| 158 {{exported}}static void {{constant.name}}ConstantGetterCallback(v8::Local<v8::
Name>, const v8::PropertyCallbackInfo<v8::Value>&); | 158 {{exported}}static void {{constant.name}}ConstantGetterCallback(v8::Local<v8::
Name>, const v8::PropertyCallbackInfo<v8::Value>&); |
| 159 {% endfor %} | 159 {% endfor %} |
| 160 | 160 |
| 161 {% for attribute in attributes %} | 161 {% for attribute in attributes %} |
| 162 {% if attribute.is_cached_accessor %} | 162 {% if attribute.is_cached_accessor %} |
| 163 {{exported}}static v8::Local<v8::Private> {{attribute.name}}CachedAccessorCall
back(v8::Isolate*); | 163 {{exported}}static v8::Local<v8::Private> {{attribute.name}}CachedPropertyKey(
v8::Isolate*); |
| 164 {% endif %} | 164 {% endif %} |
| 165 {% for world_suffix in attribute.world_suffixes %} | 165 {% for world_suffix in attribute.world_suffixes %} |
| 166 {% if not attribute.constructor_type %} | 166 {% if not attribute.constructor_type %} |
| 167 {{exported}}static void {{attribute.name}}AttributeGetterCallback{{world_suffi
x}}( | 167 {{exported}}static void {{attribute.name}}AttributeGetterCallback{{world_suffi
x}}( |
| 168 {%- if attribute.is_data_type_property -%} | 168 {%- if attribute.is_data_type_property -%} |
| 169 v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& | 169 v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& |
| 170 {%- else -%} | 170 {%- else -%} |
| 171 const v8::FunctionCallbackInfo<v8::Value>& | 171 const v8::FunctionCallbackInfo<v8::Value>& |
| 172 {%- endif -%}); | 172 {%- endif -%}); |
| 173 {% elif attribute.needs_constructor_getter_callback %} | 173 {% elif attribute.needs_constructor_getter_callback %} |
| (...skipping 107 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 |