| 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) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestInterface* holderImpl, int value, int* result); | 27 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestInterface* holderImpl, int value, int* result); |
| 28 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String* result); | 28 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String* result); |
| 29 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String cppValue); | 29 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String cppValue); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
| 33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
| 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
| 35 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) | 35 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) |
| 36 { | 36 { |
| 37 return blink::toScriptWrappable(object)->toImpl<TestInterfaceImplementat
ion>(); | 37 return toScriptWrappable(object)->toImpl<TestInterfaceImplementation>(); |
| 38 } | 38 } |
| 39 CORE_EXPORT static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isol
ate*, v8::Local<v8::Value>); | 39 CORE_EXPORT static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isol
ate*, v8::Local<v8::Value>); |
| 40 CORE_EXPORT static WrapperTypeInfo wrapperTypeInfo; | 40 CORE_EXPORT static WrapperTypeInfo wrapperTypeInfo; |
| 41 static void refObject(ScriptWrappable*); | 41 static void refObject(ScriptWrappable*); |
| 42 static void derefObject(ScriptWrappable*); | 42 static void derefObject(ScriptWrappable*); |
| 43 template<typename VisitorDispatcher> | 43 template<typename VisitorDispatcher> |
| 44 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) | 44 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
| 45 { | 45 { |
| 46 } | 46 } |
| 47 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); | 47 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 66 | 66 |
| 67 template <> | 67 template <> |
| 68 struct V8TypeOf<TestInterfaceImplementation> { | 68 struct V8TypeOf<TestInterfaceImplementation> { |
| 69 typedef V8TestInterface Type; | 69 typedef V8TestInterface Type; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| 73 #endif // ENABLE(CONDITION) | 73 #endif // ENABLE(CONDITION) |
| 74 | 74 |
| 75 #endif // V8TestInterface_h | 75 #endif // V8TestInterface_h |
| OLD | NEW |