| 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 V8TestInterfaceCheckSecurity_h | 7 #ifndef V8TestInterfaceCheckSecurity_h |
| 8 #define V8TestInterfaceCheckSecurity_h | 8 #define V8TestInterfaceCheckSecurity_h |
| 9 | 9 |
| 10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8Binding.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 30 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 31 static inline void* toInternalPointer(TestInterfaceCheckSecurity* impl) | 31 static inline void* toInternalPointer(TestInterfaceCheckSecurity* impl) |
| 32 { | 32 { |
| 33 return impl; | 33 return impl; |
| 34 } | 34 } |
| 35 | 35 |
| 36 static inline TestInterfaceCheckSecurity* fromInternalPointer(void* object) | 36 static inline TestInterfaceCheckSecurity* fromInternalPointer(void* object) |
| 37 { | 37 { |
| 38 return static_cast<TestInterfaceCheckSecurity*>(object); | 38 return static_cast<TestInterfaceCheckSecurity*>(object); |
| 39 } | 39 } |
| 40 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*) { } | 40 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestI
nterfaceCheckSecurity*, v8::Isolate*) { } |
| 41 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*) { } | 41 static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isol
ate*) { } |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 friend v8::Handle<v8::Object> wrap(TestInterfaceCheckSecurity*, v8::Handle<v
8::Object> creationContext, v8::Isolate*); | 44 friend v8::Handle<v8::Object> wrap(TestInterfaceCheckSecurity*, v8::Handle<v
8::Object> creationContext, v8::Isolate*); |
| 45 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterfaceCheckSec
urity>, v8::Handle<v8::Object> creationContext, v8::Isolate*); | 45 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterfaceCheckSec
urity>, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 v8::Handle<v8::Object> wrap(TestInterfaceCheckSecurity* impl, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate*); | 48 v8::Handle<v8::Object> wrap(TestInterfaceCheckSecurity* impl, v8::Handle<v8::Obj
ect> creationContext, v8::Isolate*); |
| 49 | 49 |
| 50 inline v8::Handle<v8::Value> toV8(TestInterfaceCheckSecurity* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 50 inline v8::Handle<v8::Value> toV8(TestInterfaceCheckSecurity* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
| 51 { | 51 { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 } | 115 } |
| 116 | 116 |
| 117 template<class CallbackInfo, class Wrappable> | 117 template<class CallbackInfo, class Wrappable> |
| 118 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stInterfaceCheckSecurity> impl, Wrappable* wrappable) | 118 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stInterfaceCheckSecurity> impl, Wrappable* wrappable) |
| 119 { | 119 { |
| 120 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 120 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } | 123 } |
| 124 #endif // V8TestInterfaceCheckSecurity_h | 124 #endif // V8TestInterfaceCheckSecurity_h |
| OLD | NEW |