OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! | 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! |
6 | 6 |
7 #ifndef {{v8_class}}_h | 7 #ifndef {{v8_class}}_h |
8 #define {{v8_class}}_h | 8 #define {{v8_class}}_h |
9 | 9 |
10 {% filter conditional(conditional_string) %} | 10 {% filter conditional(conditional_string) %} |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 static bool indexedSecurityCheckCustom(v8::Local<v8::Object> host, uint32_t
index, v8::AccessType, v8::Local<v8::Value> data); | 155 static bool indexedSecurityCheckCustom(v8::Local<v8::Object> host, uint32_t
index, v8::AccessType, v8::Local<v8::Value> data); |
156 {% endif %} | 156 {% endif %} |
157 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*){% if has_conditional_attributes %}; | 157 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*){% if has_conditional_attributes %}; |
158 {% else %} { } | 158 {% else %} { } |
159 {% endif %} | 159 {% endif %} |
160 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*){% if conditionally_enabled_methods %}; | 160 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*){% if conditionally_enabled_methods %}; |
161 {% else %} { } | 161 {% else %} { } |
162 {% endif %} | 162 {% endif %} |
163 {% if has_partial_interface %} | 163 {% if has_partial_interface %} |
164 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona
llyEnabledMethodsFunction); | 164 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona
llyEnabledMethodsFunction); |
165 static void install{{v8_class}}Template(v8::Handle<v8::FunctionTemplate>, v8
::Isolate*); | 165 static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate>, v8:
:Isolate*); |
166 {% for method in methods if method.overloads and method.overloads.has_partia
l_overloads %} | 166 {% for method in methods if method.overloads and method.overloads.has_partia
l_overloads %} |
167 static void register{{method.name | blink_capitalize}}MethodForPartialInterf
ace(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 167 static void register{{method.name | blink_capitalize}}MethodForPartialInterf
ace(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
168 {% endfor %} | 168 {% endfor %} |
169 {% endif %} | 169 {% endif %} |
170 {% if has_partial_interface %} | 170 {% if has_partial_interface %} |
171 | 171 |
172 private: | 172 private: |
173 static InstallTemplateFunction install{{v8_class}}TemplateFunction; | 173 static InstallTemplateFunction install{{v8_class}}TemplateFunction; |
174 {% endif %} | 174 {% endif %} |
175 }; | 175 }; |
(...skipping 19 matching lines...) Expand all Loading... |
195 | 195 |
196 {% endif %}{# has_custom_to_v8 #} | 196 {% endif %}{# has_custom_to_v8 #} |
197 {% if has_event_constructor %} | 197 {% if has_event_constructor %} |
198 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info); | 198 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info); |
199 | 199 |
200 {% endif %} | 200 {% endif %} |
201 } // namespace blink | 201 } // namespace blink |
202 {% endfilter %} | 202 {% endfilter %} |
203 | 203 |
204 #endif // {{v8_class}}_h | 204 #endif // {{v8_class}}_h |
OLD | NEW |