| 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 V8TestInterface_h | 7 #ifndef V8TestInterface_h | 
| 8 #define V8TestInterface_h | 8 #define V8TestInterface_h | 
| 9 | 9 | 
| 10 #if ENABLE(CONDITION) | 10 #if ENABLE(CONDITION) | 
|  | 11 #include "bindings/core/v8/PropertyBag.h" | 
| 11 #include "bindings/core/v8/ScriptWrappable.h" | 12 #include "bindings/core/v8/ScriptWrappable.h" | 
| 12 #include "bindings/core/v8/V8Binding.h" | 13 #include "bindings/core/v8/V8Binding.h" | 
| 13 #include "bindings/core/v8/V8DOMWrapper.h" | 14 #include "bindings/core/v8/V8DOMWrapper.h" | 
| 14 #include "bindings/core/v8/WrapperTypeInfo.h" | 15 #include "bindings/core/v8/WrapperTypeInfo.h" | 
| 15 #include "bindings/tests/idls/TestInterfaceImplementation.h" | 16 #include "bindings/tests/idls/TestInterfaceImplementation.h" | 
| 16 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 17 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 
| 17 #include "platform/heap/Handle.h" | 18 #include "platform/heap/Handle.h" | 
| 18 | 19 | 
| 19 namespace blink { | 20 namespace blink { | 
| 20 | 21 | 
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 96 { | 97 { | 
| 97     v8SetReturnValueForMainWorld(callbackInfo, impl.get()); | 98     v8SetReturnValueForMainWorld(callbackInfo, impl.get()); | 
| 98 } | 99 } | 
| 99 | 100 | 
| 100 template<class CallbackInfo, class Wrappable> | 101 template<class CallbackInfo, class Wrappable> | 
| 101 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
     stInterfaceImplementation> impl, Wrappable* wrappable) | 102 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
     stInterfaceImplementation> impl, Wrappable* wrappable) | 
| 102 { | 103 { | 
| 103     v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 104     v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 
| 104 } | 105 } | 
| 105 | 106 | 
|  | 107 template <> | 
|  | 108 struct PropertyBagTraits<TestInterfaceImplementation> { | 
|  | 109     typedef V8TestInterface type; | 
|  | 110 }; | 
|  | 111 | 
| 106 } // namespace blink | 112 } // namespace blink | 
| 107 #endif // ENABLE(CONDITION) | 113 #endif // ENABLE(CONDITION) | 
| 108 #endif // V8TestInterface_h | 114 #endif // V8TestInterface_h | 
| OLD | NEW | 
|---|