| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |