| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 attribute_getter_implemented_in_private_script, | 57 attribute_getter_implemented_in_private_script, |
| 58 attribute_setter_implemented_in_private_script | 58 attribute_setter_implemented_in_private_script |
| 59 with context %} | 59 with context %} |
| 60 {% for attribute in attributes if not attribute.constructor_type %} | 60 {% for attribute in attributes if not attribute.constructor_type %} |
| 61 {% if attribute.should_be_exposed_to_script %} | 61 {% if attribute.should_be_exposed_to_script %} |
| 62 {% for world_suffix in attribute.world_suffixes %} | 62 {% for world_suffix in attribute.world_suffixes %} |
| 63 {% if not attribute.has_custom_getter %} | 63 {% if not attribute.has_custom_getter %} |
| 64 {{attribute_getter(attribute, world_suffix)}} | 64 {{attribute_getter(attribute, world_suffix)}} |
| 65 {% endif %} | 65 {% endif %} |
| 66 {{attribute_getter_callback(attribute, world_suffix)}} | 66 {{attribute_getter_callback(attribute, world_suffix)}} |
| 67 {% if not attribute.is_read_only or attribute.put_forwards %} | 67 {% if (not attribute.is_read_only or |
| 68 attribute.put_forwards or |
| 69 (attribute.is_replaceable and attribute.is_expose_js_accessors)) %} |
| 68 {% if not attribute.has_custom_setter %} | 70 {% if not attribute.has_custom_setter %} |
| 69 {{attribute_setter(attribute, world_suffix)}} | 71 {{attribute_setter(attribute, world_suffix)}} |
| 70 {% endif %} | 72 {% endif %} |
| 71 {{attribute_setter_callback(attribute, world_suffix)}} | 73 {{attribute_setter_callback(attribute, world_suffix)}} |
| 72 {% endif %} | 74 {% endif %} |
| 73 {% endfor %} | 75 {% endfor %} |
| 74 {% endif %} | 76 {% endif %} |
| 75 {% endfor %} | 77 {% endfor %} |
| 76 {##############################################################################} | 78 {##############################################################################} |
| 77 {% block constructor_getter %} | 79 {% block constructor_getter %} |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 {% endfor %} | 510 {% endfor %} |
| 509 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 511 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
| 510 {{attribute_getter_implemented_in_private_script(attribute)}} | 512 {{attribute_getter_implemented_in_private_script(attribute)}} |
| 511 {% if not attribute.is_read_only or attribute.put_forwards %} | 513 {% if not attribute.is_read_only or attribute.put_forwards %} |
| 512 {{attribute_setter_implemented_in_private_script(attribute)}} | 514 {{attribute_setter_implemented_in_private_script(attribute)}} |
| 513 {% endif %} | 515 {% endif %} |
| 514 {% endfor %} | 516 {% endfor %} |
| 515 {% block partial_interface %}{% endblock %} | 517 {% block partial_interface %}{% endblock %} |
| 516 } // namespace blink | 518 } // namespace blink |
| 517 {% endfilter %} | 519 {% endfilter %} |
| OLD | NEW |