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 #include "config.h" | 7 #include "config.h" |
8 {% filter conditional(conditional_string) %} | 8 {% filter conditional(conditional_string) %} |
9 #include "{{v8_class_or_partial}}.h" | 9 #include "{{v8_class_or_partial}}.h" |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 {% block initialize_event %}{% endblock %} | 256 {% block initialize_event %}{% endblock %} |
257 {% block constructor_callback %}{% endblock %} | 257 {% block constructor_callback %}{% endblock %} |
258 {% block configure_shadow_object_template %}{% endblock %} | 258 {% block configure_shadow_object_template %}{% endblock %} |
259 {##############################################################################} | 259 {##############################################################################} |
260 {% block install_dom_template %} | 260 {% block install_dom_template %} |
261 {% if not is_array_buffer_or_view %} | 261 {% if not is_array_buffer_or_view %} |
262 {% from 'methods.cpp' import install_custom_signature with context %} | 262 {% from 'methods.cpp' import install_custom_signature with context %} |
263 {% from 'attributes.cpp' import attribute_configuration with context %} | 263 {% from 'attributes.cpp' import attribute_configuration with context %} |
264 {% from 'constants.cpp' import install_constants with context %} | 264 {% from 'constants.cpp' import install_constants with context %} |
265 {% if has_partial_interface or is_partial %} | 265 {% if has_partial_interface or is_partial %} |
266 void {{v8_class_or_partial}}::install{{v8_class}}Template(v8::Handle<v8::Functio
nTemplate> functionTemplate, v8::Isolate* isolate) | 266 void {{v8_class_or_partial}}::install{{v8_class}}Template(v8::Local<v8::Function
Template> functionTemplate, v8::Isolate* isolate) |
267 {% else %} | 267 {% else %} |
268 static void install{{v8_class}}Template(v8::Handle<v8::FunctionTemplate> functio
nTemplate, v8::Isolate* isolate) | 268 static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate> function
Template, v8::Isolate* isolate) |
269 {% endif %} | 269 {% endif %} |
270 { | 270 { |
271 {% if is_partial %} | 271 {% if is_partial %} |
272 {{v8_class}}::install{{v8_class}}Template(functionTemplate, isolate); | 272 {{v8_class}}::install{{v8_class}}Template(functionTemplate, isolate); |
273 {% else %} | 273 {% else %} |
274 functionTemplate->ReadOnlyPrototype(); | 274 functionTemplate->ReadOnlyPrototype(); |
275 {% endif %} | 275 {% endif %} |
276 | 276 |
277 v8::Local<v8::Signature> defaultSignature; | 277 v8::Local<v8::Signature> defaultSignature; |
278 {% set parent_template = | 278 {% set parent_template = |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 {% endfor %} | 467 {% endfor %} |
468 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 468 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
469 {{attribute_getter_implemented_in_private_script(attribute)}} | 469 {{attribute_getter_implemented_in_private_script(attribute)}} |
470 {% if not attribute.is_read_only or attribute.put_forwards %} | 470 {% if not attribute.is_read_only or attribute.put_forwards %} |
471 {{attribute_setter_implemented_in_private_script(attribute)}} | 471 {{attribute_setter_implemented_in_private_script(attribute)}} |
472 {% endif %} | 472 {% endif %} |
473 {% endfor %} | 473 {% endfor %} |
474 {% block partial_interface %}{% endblock %} | 474 {% block partial_interface %}{% endblock %} |
475 } // namespace blink | 475 } // namespace blink |
476 {% endfilter %} | 476 {% endfilter %} |
OLD | NEW |