| 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 "sky/engine/config.h" |
| 8 {% filter conditional(conditional_string) %} | 8 {% filter conditional(conditional_string) %} |
| 9 #include "{{v8_class}}.h" | 9 #include "{{v8_class}}.h" |
| 10 | 10 |
| 11 {% for filename in cpp_includes if filename != '%s.h' % v8_class %} | 11 {% for filename in cpp_includes if filename != '%s.h' % v8_class %} |
| 12 #include "{{filename}}" | 12 #include "{{filename}}" |
| 13 {% endfor %} | 13 {% endfor %} |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 {% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class | 16 {% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class |
| 17 if is_active_dom_object else '0' %} | 17 if is_active_dom_object else '0' %} |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 {{method_implemented_in_private_script(method)}} | 147 {{method_implemented_in_private_script(method)}} |
| 148 {% endfor %} | 148 {% endfor %} |
| 149 {% for attribute in attributes if attribute.is_implemented_in_private_script %} | 149 {% for attribute in attributes if attribute.is_implemented_in_private_script %} |
| 150 {{attribute_getter_implemented_in_private_script(attribute)}} | 150 {{attribute_getter_implemented_in_private_script(attribute)}} |
| 151 {% if not attribute.is_read_only or attribute.put_forwards %} | 151 {% if not attribute.is_read_only or attribute.put_forwards %} |
| 152 {{attribute_setter_implemented_in_private_script(attribute)}} | 152 {{attribute_setter_implemented_in_private_script(attribute)}} |
| 153 {% endif %} | 153 {% endif %} |
| 154 {% endfor %} | 154 {% endfor %} |
| 155 } // namespace blink | 155 } // namespace blink |
| 156 {% endfilter %} | 156 {% endfilter %} |
| OLD | NEW |