| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceImplem
entation* impl) | 49 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceImplem
entation* impl) |
| 50 { | 50 { |
| 51 return impl->toScriptWrappableBase(); | 51 return impl->toScriptWrappableBase(); |
| 52 } | 52 } |
| 53 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*); | 53 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*); |
| 54 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*); | 54 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*); |
| 55 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona
llyEnabledMethodsFunction); | 55 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona
llyEnabledMethodsFunction); |
| 56 static void installV8TestInterfaceTemplate(v8::Handle<v8::FunctionTemplate>,
v8::Isolate*); | 56 static void installV8TestInterfaceTemplate(v8::Handle<v8::FunctionTemplate>,
v8::Isolate*); |
| 57 static void registerVoidMethodPartialOverloadMethodForPartialInterface(void
(*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 57 static void registerVoidMethodPartialOverloadMethodForPartialInterface(void
(*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
| 58 static void registerStaticVoidMethodPartialOverloadMethodForPartialInterface
(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 58 static void registerStaticVoidMethodPartialOverloadMethodForPartialInterface
(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
| 59 static void registerPromiseMethodPartialOverloadMethodForPartialInterface(vo
id (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
| 60 static void registerStaticPromiseMethodPartialOverloadMethodForPartialInterf
ace(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
| 59 static void registerPartial2VoidMethodMethodForPartialInterface(void (*)(con
st v8::FunctionCallbackInfo<v8::Value>&)); | 61 static void registerPartial2VoidMethodMethodForPartialInterface(void (*)(con
st v8::FunctionCallbackInfo<v8::Value>&)); |
| 60 static void registerPartial2StaticVoidMethodMethodForPartialInterface(void (
*)(const v8::FunctionCallbackInfo<v8::Value>&)); | 62 static void registerPartial2StaticVoidMethodMethodForPartialInterface(void (
*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
| 61 | 63 |
| 62 private: | 64 private: |
| 63 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; | 65 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 class TestInterfaceImplementation; | 68 class TestInterfaceImplementation; |
| 67 v8::Handle<v8::Value> toV8(TestInterfaceImplementation*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); | 69 v8::Handle<v8::Value> toV8(TestInterfaceImplementation*, v8::Handle<v8::Object>
creationContext, v8::Isolate*); |
| 68 | 70 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 template<class CallbackInfo, class Wrappable> | 106 template<class CallbackInfo, class Wrappable> |
| 105 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stInterfaceImplementation> impl, Wrappable* wrappable) | 107 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te
stInterfaceImplementation> impl, Wrappable* wrappable) |
| 106 { | 108 { |
| 107 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 109 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 108 } | 110 } |
| 109 | 111 |
| 110 } // namespace blink | 112 } // namespace blink |
| 111 #endif // ENABLE(CONDITION) | 113 #endif // ENABLE(CONDITION) |
| 112 | 114 |
| 113 #endif // V8TestInterface_h | 115 #endif // V8TestInterface_h |
| OLD | NEW |