| 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_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 #ifndef V8TestObject_h | 7 #ifndef V8TestObject_h |
| 8 #define V8TestObject_h | 8 #define V8TestObject_h |
| 9 | 9 |
| 10 #include "bindings/core/v8/PropertyBag.h" |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 11 #include "bindings/core/v8/ScriptWrappable.h" |
| 11 #include "bindings/core/v8/V8Binding.h" | 12 #include "bindings/core/v8/V8Binding.h" |
| 12 #include "bindings/core/v8/V8DOMWrapper.h" | 13 #include "bindings/core/v8/V8DOMWrapper.h" |
| 13 #include "bindings/core/v8/WrapperTypeInfo.h" | 14 #include "bindings/core/v8/WrapperTypeInfo.h" |
| 14 #include "bindings/tests/idls/TestObject.h" | 15 #include "bindings/tests/idls/TestObject.h" |
| 15 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.h" |
| 16 | 17 |
| 17 namespace blink { | 18 namespace blink { |
| 18 | 19 |
| 19 class V8TestObject { | 20 class V8TestObject { |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 { | 156 { |
| 156 v8SetReturnValueForMainWorld(callbackInfo, impl.get()); | 157 v8SetReturnValueForMainWorld(callbackInfo, impl.get()); |
| 157 } | 158 } |
| 158 | 159 |
| 159 template<class CallbackInfo, class Wrappable> | 160 template<class CallbackInfo, class Wrappable> |
| 160 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) | 161 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stObject> impl, Wrappable* wrappable) |
| 161 { | 162 { |
| 162 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 163 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 163 } | 164 } |
| 164 | 165 |
| 166 template <> |
| 167 struct PropertyBagTraits<TestObject> { |
| 168 typedef V8TestObject type; |
| 169 }; |
| 170 |
| 165 } // namespace blink | 171 } // namespace blink |
| 166 #endif // V8TestObject_h | 172 #endif // V8TestObject_h |
| OLD | NEW |