| 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 #ifndef {{v8_class}}_h | 7 #ifndef {{v8_class}}_h |
| 8 #define {{v8_class}}_h | 8 #define {{v8_class}}_h |
| 9 | 9 |
| 10 {% filter conditional(conditional_string) %} | 10 {% filter conditional(conditional_string) %} |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 template<class CallbackInfo, class Wrappable> | 284 template<class CallbackInfo, class Wrappable> |
| 285 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{pass_cpp_ty
pe}} impl, Wrappable* wrappable) | 285 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{pass_cpp_ty
pe}} impl, Wrappable* wrappable) |
| 286 { | 286 { |
| 287 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 287 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 288 } | 288 } |
| 289 | 289 |
| 290 {% if has_event_constructor %} | 290 {% if has_event_constructor %} |
| 291 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); | 291 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); |
| 292 | 292 |
| 293 {% endif %} | 293 {% endif %} |
| 294 template <> |
| 295 struct PropertyBagTraits<{{cpp_class}}> { |
| 296 typedef {{v8_class}} type; |
| 297 }; |
| 298 |
| 294 } // namespace blink | 299 } // namespace blink |
| 295 {% endfilter %} | 300 {% endfilter %} |
| 296 #endif // {{v8_class}}_h | 301 #endif // {{v8_class}}_h |
| OLD | NEW |