Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: Source/bindings/templates/interface_base.cpp

Issue 1056423002: [bindings] Include copyright block in generated code for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/bindings/templates/interface.h ('k') | Source/bindings/templates/partial_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 {% include 'copyright_block.txt' %}
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
6
7 #include "config.h" 2 #include "config.h"
8 {% filter conditional(conditional_string) %} 3 {% filter conditional(conditional_string) %}
9 #include "{{v8_class_or_partial}}.h" 4 #include "{{v8_class_or_partial}}.h"
10 5
11 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %} 6 {% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %}
12 #include "{{filename}}" 7 #include "{{filename}}"
13 {% endfor %} 8 {% endfor %}
14 9
15 namespace blink { 10 namespace blink {
16 {% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class 11 {% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 {% endfor %} 499 {% endfor %}
505 {% for attribute in attributes if attribute.is_implemented_in_private_script %} 500 {% for attribute in attributes if attribute.is_implemented_in_private_script %}
506 {{attribute_getter_implemented_in_private_script(attribute)}} 501 {{attribute_getter_implemented_in_private_script(attribute)}}
507 {% if attribute.has_setter %} 502 {% if attribute.has_setter %}
508 {{attribute_setter_implemented_in_private_script(attribute)}} 503 {{attribute_setter_implemented_in_private_script(attribute)}}
509 {% endif %} 504 {% endif %}
510 {% endfor %} 505 {% endfor %}
511 {% block partial_interface %}{% endblock %} 506 {% block partial_interface %}{% endblock %}
512 } // namespace blink 507 } // namespace blink
513 {% endfilter %} 508 {% endfilter %}
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface.h ('k') | Source/bindings/templates/partial_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698