| 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 V8TestInterface3_h | 7 #ifndef V8TestInterface3_h |
| 8 #define V8TestInterface3_h | 8 #define V8TestInterface3_h |
| 9 | 9 |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 40 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 41 static inline ScriptWrappableBase* toInternalPointer(TestInterface3* impl) | 41 static inline ScriptWrappableBase* toInternalPointer(TestInterface3* impl) |
| 42 { | 42 { |
| 43 return reinterpret_cast<ScriptWrappableBase*>(static_cast<void*>(impl)); | 43 return reinterpret_cast<ScriptWrappableBase*>(static_cast<void*>(impl)); |
| 44 } | 44 } |
| 45 | 45 |
| 46 static inline TestInterface3* fromInternalPointer(ScriptWrappableBase* inter
nalPointer) | 46 static inline TestInterface3* fromInternalPointer(ScriptWrappableBase* inter
nalPointer) |
| 47 { | 47 { |
| 48 return reinterpret_cast<TestInterface3*>(static_cast<void*>(internalPoin
ter)); | 48 return reinterpret_cast<TestInterface3*>(static_cast<void*>(internalPoin
ter)); |
| 49 } | 49 } |
| 50 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestI
nterface3*, v8::Isolate*) { } | 50 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*) { } |
| 51 static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isol
ate*) { } | 51 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*) { } |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 friend v8::Handle<v8::Object> wrap(TestInterface3*, v8::Handle<v8::Object> c
reationContext, v8::Isolate*); | 54 friend v8::Handle<v8::Object> wrap(TestInterface3*, v8::Handle<v8::Object> c
reationContext, v8::Isolate*); |
| 55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface3>, v8::
Handle<v8::Object> creationContext, v8::Isolate*); | 55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface3>, v8::
Handle<v8::Object> creationContext, v8::Isolate*); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 v8::Handle<v8::Object> wrap(TestInterface3* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate*); | 58 v8::Handle<v8::Object> wrap(TestInterface3* impl, v8::Handle<v8::Object> creatio
nContext, v8::Isolate*); |
| 59 | 59 |
| 60 inline v8::Handle<v8::Value> toV8(TestInterface3* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) | 60 inline v8::Handle<v8::Value> toV8(TestInterface3* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) |
| 61 { | 61 { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 } | 125 } |
| 126 | 126 |
| 127 template<class CallbackInfo, class Wrappable> | 127 template<class CallbackInfo, class Wrappable> |
| 128 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stInterface3> impl, Wrappable* wrappable) | 128 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stInterface3> impl, Wrappable* wrappable) |
| 129 { | 129 { |
| 130 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 130 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 131 } | 131 } |
| 132 | 132 |
| 133 } | 133 } |
| 134 #endif // V8TestInterface3_h | 134 #endif // V8TestInterface3_h |
| OLD | NEW |