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

Side by Side Diff: Source/bindings/templates/callback_interface.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
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}}.h" 4 #include "{{v8_class}}.h"
10 5
11 {% for filename in cpp_includes %} 6 {% for filename in cpp_includes %}
12 #include "{{filename}}" 7 #include "{{filename}}"
13 {% endfor %} 8 {% endfor %}
14 9
15 namespace blink { 10 namespace blink {
16 11
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ScriptController::callFunction(m_scriptState->executionContext(), m_callback .newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); 68 ScriptController::callFunction(m_scriptState->executionContext(), m_callback .newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate());
74 return !exceptionCatcher.HasCaught(); 69 return !exceptionCatcher.HasCaught();
75 {% else %}{# void #} 70 {% else %}{# void #}
76 ScriptController::callFunction(m_scriptState->executionContext(), m_callback .newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); 71 ScriptController::callFunction(m_scriptState->executionContext(), m_callback .newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate());
77 {% endif %} 72 {% endif %}
78 } 73 }
79 74
80 {% endfor %} 75 {% endfor %}
81 } // namespace blink 76 } // namespace blink
82 {% endfilter %} 77 {% endfilter %}
OLDNEW
« no previous file with comments | « Source/bindings/templates/callback_interface.h ('k') | Source/bindings/templates/copyright_block.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698