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

Side by Side Diff: Source/bindings/templates/dictionary_v8.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/dictionary_v8.h ('k') | Source/bindings/templates/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 {% from 'conversions.cpp' import declare_enum_validation_variable %} 1 {% from 'conversions.cpp' import declare_enum_validation_variable %}
2 // Copyright 2014 The Chromium Authors. All rights reserved. 2 {% include 'copyright_block.txt' %}
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5
6 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
7
8 #include "config.h" 3 #include "config.h"
9 #include "{{v8_original_class}}.h" 4 #include "{{v8_original_class}}.h"
10 5
11 {% for filename in cpp_includes if filename != '%s.h' % v8_class %} 6 {% for filename in cpp_includes if filename != '%s.h' % v8_class %}
12 #include "{{filename}}" 7 #include "{{filename}}"
13 {% endfor %} 8 {% endfor %}
14 9
15 namespace blink { 10 namespace blink {
16 11
17 {% from 'conversions.cpp' import v8_value_to_local_cpp_value %} 12 {% from 'conversions.cpp' import v8_value_to_local_cpp_value %}
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 110 }
116 111
117 {{cpp_class}} NativeValueTraits<{{cpp_class}}>::nativeValue(v8::Isolate* isolate , v8::Local<v8::Value> value, ExceptionState& exceptionState) 112 {{cpp_class}} NativeValueTraits<{{cpp_class}}>::nativeValue(v8::Isolate* isolate , v8::Local<v8::Value> value, ExceptionState& exceptionState)
118 { 113 {
119 {{cpp_class}} impl; 114 {{cpp_class}} impl;
120 {{v8_class}}::toImpl(isolate, value, impl, exceptionState); 115 {{v8_class}}::toImpl(isolate, value, impl, exceptionState);
121 return impl; 116 return impl;
122 } 117 }
123 118
124 } // namespace blink 119 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/templates/dictionary_v8.h ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698