| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 break; | 223 break; |
| 224 default: | 224 default: |
| 225 break; | 225 break; |
| 226 } | 226 } |
| 227 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 227 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
| 228 exceptionState.throwIfNeeded(); | 228 exceptionState.throwIfNeeded(); |
| 229 } | 229 } |
| 230 | 230 |
| 231 } // namespace TestInterfaceImplementationPartialV8Internal | 231 } // namespace TestInterfaceImplementationPartialV8Internal |
| 232 | 232 |
| 233 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Handle<v8::Funct
ionTemplate> functionTemplate, v8::Isolate* isolate) | 233 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Local<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) |
| 234 { | 234 { |
| 235 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); | 235 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); |
| 236 | 236 |
| 237 v8::Local<v8::Signature> defaultSignature; | 237 v8::Local<v8::Signature> defaultSignature; |
| 238 if (!RuntimeEnabledFeatures::featureNameEnabled()) | 238 if (!RuntimeEnabledFeatures::featureNameEnabled()) |
| 239 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "", v8::Local<v8::FunctionTemplate>(), V8TestInterface::intern
alFieldCount, 0, 0, 0, 0, 0, 0); | 239 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "", v8::Local<v8::FunctionTemplate>(), V8TestInterface::intern
alFieldCount, 0, 0, 0, 0, 0, 0); |
| 240 else | 240 else |
| 241 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInte
rface::internalFieldCount, | 241 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInte
rface::internalFieldCount, |
| 242 0, 0, | 242 0, 0, |
| 243 0, 0, | 243 0, 0, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 296 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
| 297 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 297 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
| 298 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 298 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
| 299 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 299 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
| 300 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 300 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
| 301 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 301 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
| 302 } | 302 } |
| 303 | 303 |
| 304 } // namespace blink | 304 } // namespace blink |
| 305 #endif // ENABLE(CONDITION) | 305 #endif // ENABLE(CONDITION) |
| OLD | NEW |