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 #include "config.h" | 7 #include "config.h" |
8 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
9 #include "V8TestInterfacePartial.h" | 9 #include "V8TestInterfacePartial.h" |
10 | 10 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 170 } |
171 TestPartialInterfaceImplementation3::partial2VoidMethod(*impl, value); | 171 TestPartialInterfaceImplementation3::partial2VoidMethod(*impl, value); |
172 } | 172 } |
173 | 173 |
174 static void partial2VoidMethod3Method(const v8::FunctionCallbackInfo<v8::Value>&
info) | 174 static void partial2VoidMethod3Method(const v8::FunctionCallbackInfo<v8::Value>&
info) |
175 { | 175 { |
176 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 176 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
177 Node* node; | 177 Node* node; |
178 { | 178 { |
179 if (info.Length() > 0 && !V8Node::hasInstance(info[0], info.GetIsolate()
)) { | 179 if (info.Length() > 0 && !V8Node::hasInstance(info[0], info.GetIsolate()
)) { |
180 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute(
"partial2VoidMethod", "TestInterface", "parameter 1 is not of type 'Node'."), in
fo.GetIsolate()); | 180 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessage
s::failedToExecute("partial2VoidMethod", "TestInterface", "parameter 1 is not of
type 'Node'.")); |
181 return; | 181 return; |
182 } | 182 } |
183 node = V8Node::toImpl(v8::Handle<v8::Object>::Cast(info[0])); | 183 node = V8Node::toImpl(v8::Handle<v8::Object>::Cast(info[0])); |
184 } | 184 } |
185 TestPartialInterfaceImplementation3::partial2VoidMethod(*impl, node); | 185 TestPartialInterfaceImplementation3::partial2VoidMethod(*impl, node); |
186 } | 186 } |
187 | 187 |
188 static void partial2VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) | 188 static void partial2VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) |
189 { | 189 { |
190 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partial2Voi
dMethod", "TestInterface", info.Holder(), info.GetIsolate()); | 190 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partial2Voi
dMethod", "TestInterface", info.Holder(), info.GetIsolate()); |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 309 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
310 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 310 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
311 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 311 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
312 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 312 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
313 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 313 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
314 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 314 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
315 } | 315 } |
316 | 316 |
317 } // namespace blink | 317 } // namespace blink |
318 #endif // ENABLE(CONDITION) | 318 #endif // ENABLE(CONDITION) |
OLD | NEW |