| 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 V8TestInterface2_h | 7 #ifndef V8TestInterface2_h |
| 8 #define V8TestInterface2_h | 8 #define V8TestInterface2_h |
| 9 | 9 |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 { | 25 { |
| 26 return blink::toScriptWrappableBase(object)->toImpl<TestInterface2>(); | 26 return blink::toScriptWrappableBase(object)->toImpl<TestInterface2>(); |
| 27 } | 27 } |
| 28 static TestInterface2* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Valu
e>); | 28 static TestInterface2* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Valu
e>); |
| 29 static const WrapperTypeInfo wrapperTypeInfo; | 29 static const WrapperTypeInfo wrapperTypeInfo; |
| 30 static void refObject(ScriptWrappableBase*); | 30 static void refObject(ScriptWrappableBase*); |
| 31 static void derefObject(ScriptWrappableBase*); | 31 static void derefObject(ScriptWrappableBase*); |
| 32 static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase
) | 32 static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase
) |
| 33 { | 33 { |
| 34 } | 34 } |
| 35 static void visitDOMWrapper(ScriptWrappableBase*, const v8::Persistent<v8::O
bject>&, v8::Isolate*); | 35 static void visitDOMWrapper(v8::Isolate*, ScriptWrappableBase*, const v8::Pe
rsistent<v8::Object>&); |
| 36 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 36 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 37 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 37 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 38 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterface2* imp
l) | 38 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterface2* imp
l) |
| 39 { | 39 { |
| 40 return impl->toScriptWrappableBase(); | 40 return impl->toScriptWrappableBase(); |
| 41 } | 41 } |
| 42 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*) { } | 42 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*) { } |
| 43 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*) { } | 43 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*) { } |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // V8TestInterface2_h | 48 #endif // V8TestInterface2_h |
| OLD | NEW |