| 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 "config.h" |
| 8 #include "{{header_filename}}" | 8 #include "{{header_filename}}" |
| 9 | 9 |
| 10 {% from 'conversions.cpp' import v8_value_to_local_cpp_value %} | 10 {% from 'conversions.cpp' import v8_value_to_local_cpp_value %} |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 {% for member in container.members %} | 177 {% for member in container.members %} |
| 178 case {{container.cpp_class}}::{{member.specific_type_enum}}: | 178 case {{container.cpp_class}}::{{member.specific_type_enum}}: |
| 179 return {{member.cpp_value_to_v8_value}}; | 179 return {{member.cpp_value_to_v8_value}}; |
| 180 {% endfor %} | 180 {% endfor %} |
| 181 default: | 181 default: |
| 182 ASSERT_NOT_REACHED(); | 182 ASSERT_NOT_REACHED(); |
| 183 } | 183 } |
| 184 return v8::Local<v8::Value>(); | 184 return v8::Local<v8::Value>(); |
| 185 } | 185 } |
| 186 | 186 |
| 187 {{container.cpp_class}} NativeValueTraits<{{container.cpp_class}}>::nativeValue(
v8::Local<v8::Value> value, v8::Isolate* isolate, ExceptionState& exceptionState
) | 187 {{container.cpp_class}} NativeValueTraits<{{container.cpp_class}}>::nativeValue(
v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState
) |
| 188 { | 188 { |
| 189 {{container.cpp_class}} impl; | 189 {{container.cpp_class}} impl; |
| 190 V8{{container.cpp_class}}::toImpl(isolate, value, impl, exceptionState); | 190 V8{{container.cpp_class}}::toImpl(isolate, value, impl, exceptionState); |
| 191 return impl; | 191 return impl; |
| 192 } | 192 } |
| 193 | 193 |
| 194 {% endfor %} | 194 {% endfor %} |
| 195 } // namespace blink | 195 } // namespace blink |
| OLD | NEW |