| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 {% if indexed_property_getter and indexed_property_getter.is_custom %} | 116 {% if indexed_property_getter and indexed_property_getter.is_custom %} |
| 117 static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallback
Info<v8::Value>&); | 117 static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallback
Info<v8::Value>&); |
| 118 {% endif %} | 118 {% endif %} |
| 119 {% if indexed_property_setter and indexed_property_setter.is_custom %} | 119 {% if indexed_property_setter and indexed_property_setter.is_custom %} |
| 120 static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, cons
t v8::PropertyCallbackInfo<v8::Value>&); | 120 static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, cons
t v8::PropertyCallbackInfo<v8::Value>&); |
| 121 {% endif %} | 121 {% endif %} |
| 122 {% if indexed_property_deleter and indexed_property_deleter.is_custom %} | 122 {% if indexed_property_deleter and indexed_property_deleter.is_custom %} |
| 123 static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbac
kInfo<v8::Boolean>&); | 123 static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbac
kInfo<v8::Boolean>&); |
| 124 {% endif %} | 124 {% endif %} |
| 125 {% if named_property_getter and named_property_getter.is_custom %} | 125 {% if named_property_getter and named_property_getter.is_custom %} |
| 126 static void namedPropertyGetterCustom(v8::Local<v8::Name>, const v8::Propert
yCallbackInfo<v8::Value>&); | 126 static void namedPropertyGetterCustom(const AtomicString&, const v8::Propert
yCallbackInfo<v8::Value>&); |
| 127 {% endif %} | 127 {% endif %} |
| 128 {% if named_property_setter and named_property_setter.is_custom %} | 128 {% if named_property_setter and named_property_setter.is_custom %} |
| 129 static void namedPropertySetterCustom(v8::Local<v8::Name>, v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<v8::Value>&); | 129 static void namedPropertySetterCustom(const AtomicString&, v8::Local<v8::Val
ue>, const v8::PropertyCallbackInfo<v8::Value>&); |
| 130 {% endif %} | 130 {% endif %} |
| 131 {% if named_property_getter and | 131 {% if named_property_getter and |
| 132 named_property_getter.is_custom_property_query %} | 132 named_property_getter.is_custom_property_query %} |
| 133 static void namedPropertyQueryCustom(v8::Local<v8::Name>, const v8::Property
CallbackInfo<v8::Integer>&); | 133 static void namedPropertyQueryCustom(const AtomicString&, const v8::Property
CallbackInfo<v8::Integer>&); |
| 134 {% endif %} | 134 {% endif %} |
| 135 {% if named_property_deleter and named_property_deleter.is_custom %} | 135 {% if named_property_deleter and named_property_deleter.is_custom %} |
| 136 static void namedPropertyDeleterCustom(v8::Local<v8::Name>, const v8::Proper
tyCallbackInfo<v8::Boolean>&); | 136 static void namedPropertyDeleterCustom(const AtomicString&, const v8::Proper
tyCallbackInfo<v8::Boolean>&); |
| 137 {% endif %} | 137 {% endif %} |
| 138 {% if named_property_getter and | 138 {% if named_property_getter and |
| 139 named_property_getter.is_custom_property_enumerator %} | 139 named_property_getter.is_custom_property_enumerator %} |
| 140 static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8:
:Array>&); | 140 static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8:
:Array>&); |
| 141 {% endif %} | 141 {% endif %} |
| 142 {# END custom special operations #} | 142 {# END custom special operations #} |
| 143 {% if has_custom_legacy_call_as_function %} | 143 {% if has_custom_legacy_call_as_function %} |
| 144 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 144 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
| 145 {% endif %} | 145 {% endif %} |
| 146 {# Custom internal fields #} | 146 {# Custom internal fields #} |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 template <> | 188 template <> |
| 189 struct V8TypeOf<{{cpp_class}}> { | 189 struct V8TypeOf<{{cpp_class}}> { |
| 190 typedef {{v8_class}} Type; | 190 typedef {{v8_class}} Type; |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 } // namespace blink | 193 } // namespace blink |
| 194 | 194 |
| 195 #endif // {{v8_class}}_h | 195 #endif // {{v8_class}}_h |
| 196 | 196 |
| 197 {% endfilter %}{# format_blink_cpp_source_code #} | 197 {% endfilter %}{# format_blink_cpp_source_code #} |
| OLD | NEW |