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 12 matching lines...) Expand all Loading... |
23 public: | 23 public: |
24 class PrivateScript { | 24 class PrivateScript { |
25 public: | 25 public: |
26 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestInterface* holderImpl, int value, int* result); | 26 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestInterface* holderImpl, int value, int* result); |
27 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String* result); | 27 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String* result); |
28 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String cppValue); | 28 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String cppValue); |
29 }; | 29 }; |
30 | 30 |
31 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); | 31 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); |
32 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va
lue>, v8::Isolate*); | 32 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va
lue>, v8::Isolate*); |
33 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); | 33 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
34 static TestInterfaceImplementation* toImpl(v8::Handle<v8::Object> object) | 34 static TestInterfaceImplementation* toImpl(v8::Handle<v8::Object> object) |
35 { | 35 { |
36 return blink::toScriptWrappable(object)->toImpl<TestInterfaceImplementat
ion>(); | 36 return blink::toScriptWrappable(object)->toImpl<TestInterfaceImplementat
ion>(); |
37 } | 37 } |
38 static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Ha
ndle<v8::Value>); | 38 static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Ha
ndle<v8::Value>); |
39 static WrapperTypeInfo wrapperTypeInfo; | 39 static WrapperTypeInfo wrapperTypeInfo; |
40 static void refObject(ScriptWrappable*); | 40 static void refObject(ScriptWrappable*); |
41 static void derefObject(ScriptWrappable*); | 41 static void derefObject(ScriptWrappable*); |
42 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) | 42 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) |
43 { | 43 { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 template<typename CallbackInfo> | 77 template<typename CallbackInfo> |
78 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
Implementation* impl, const ScriptWrappable*) | 78 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
Implementation* impl, const ScriptWrappable*) |
79 { | 79 { |
80 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn
fo.GetIsolate())); | 80 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn
fo.GetIsolate())); |
81 } | 81 } |
82 | 82 |
83 } // namespace blink | 83 } // namespace blink |
84 #endif // ENABLE(CONDITION) | 84 #endif // ENABLE(CONDITION) |
85 | 85 |
86 #endif // V8TestInterface_h | 86 #endif // V8TestInterface_h |
OLD | NEW |