| OLD | NEW |
| 1 {# http://www.chromium.org/blink/coding-style#TOC-License #} | 1 {# http://www.chromium.org/blink/coding-style#TOC-License #} |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 {% if not attribute.is_read_only %} | 85 {% if not attribute.is_read_only %} |
| 86 {% if not attribute.has_custom_setter %} | 86 {% if not attribute.has_custom_setter %} |
| 87 {{attribute_setter(attribute, world_suffix)}} | 87 {{attribute_setter(attribute, world_suffix)}} |
| 88 {% endif %} | 88 {% endif %} |
| 89 {{attribute_setter_callback(attribute, world_suffix)}} | 89 {{attribute_setter_callback(attribute, world_suffix)}} |
| 90 {% endif %} | 90 {% endif %} |
| 91 {% endfor %} | 91 {% endfor %} |
| 92 {% endfor %} | 92 {% endfor %} |
| 93 {% block constructor_getter %}{% endblock %} | 93 {% block constructor_getter %}{% endblock %} |
| 94 {% block replaceable_attribute_setter_and_callback %}{% endblock %} | 94 {% block replaceable_attribute_setter_and_callback %}{% endblock %} |
| 95 {% block security_check_functions %}{% endblock %} |
| 95 {# Methods #} | 96 {# Methods #} |
| 96 {% from 'methods.cpp' import generate_method, overload_resolution_method, | 97 {% from 'methods.cpp' import generate_method, overload_resolution_method, |
| 97 method_callback with context %} | 98 method_callback with context %} |
| 98 {% for method in methods %} | 99 {% for method in methods %} |
| 99 {% for world_suffix in method.world_suffixes %} | 100 {% for world_suffix in method.world_suffixes %} |
| 100 {% if not method.is_custom %} | 101 {% if not method.is_custom %} |
| 101 {{generate_method(method, world_suffix)}} | 102 {{generate_method(method, world_suffix)}} |
| 102 {% endif %} | 103 {% endif %} |
| 103 {% if method.overloads %} | 104 {% if method.overloads %} |
| 104 {{overload_resolution_method(method.overloads, world_suffix)}} | 105 {{overload_resolution_method(method.overloads, world_suffix)}} |
| (...skipping 14 matching lines...) Expand all Loading... |
| 119 {% block has_instance_and_has_instance_in_any_world %}{% endblock %} | 120 {% block has_instance_and_has_instance_in_any_world %}{% endblock %} |
| 120 {% block install_per_context_attributes %}{% endblock %} | 121 {% block install_per_context_attributes %}{% endblock %} |
| 121 {% block install_per_context_methods %}{% endblock %} | 122 {% block install_per_context_methods %}{% endblock %} |
| 122 {% block to_active_dom_object %}{% endblock %} | 123 {% block to_active_dom_object %}{% endblock %} |
| 123 {% block create_wrapper_and_deref_object %}{% endblock %} | 124 {% block create_wrapper_and_deref_object %}{% endblock %} |
| 124 } // namespace WebCore | 125 } // namespace WebCore |
| 125 {% if conditional_string %} | 126 {% if conditional_string %} |
| 126 | 127 |
| 127 #endif // {{conditional_string}} | 128 #endif // {{conditional_string}} |
| 128 {% endif %} | 129 {% endif %} |
| OLD | NEW |