| 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 "V8TestInterfacePartial.h" | 7 #include "V8TestInterfacePartial.h" |
| 8 | 8 |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/PrivateScriptRunner.h" | 10 #include "bindings/core/v8/PrivateScriptRunner.h" |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 if (v8CallBoolean(prototypeObject->HasOwnProperty(context, unscopablesSymbol
))) | 341 if (v8CallBoolean(prototypeObject->HasOwnProperty(context, unscopablesSymbol
))) |
| 342 unscopeables = prototypeObject->Get(context, unscopablesSymbol).ToLocalC
hecked().As<v8::Object>(); | 342 unscopeables = prototypeObject->Get(context, unscopablesSymbol).ToLocalC
hecked().As<v8::Object>(); |
| 343 else | 343 else |
| 344 unscopeables = v8::Object::New(isolate); | 344 unscopeables = v8::Object::New(isolate); |
| 345 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leVoidMethod"), v8::True(isolate)).FromJust(); | 345 unscopeables->CreateDataProperty(context, v8AtomicString(isolate, "unscopeab
leVoidMethod"), v8::True(isolate)).FromJust(); |
| 346 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopeables
).FromJust(); | 346 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopeables
).FromJust(); |
| 347 } | 347 } |
| 348 | 348 |
| 349 void V8TestInterfacePartial::initialize() | 349 void V8TestInterfacePartial::initialize() |
| 350 { | 350 { |
| 351 // Should be invoked from initModules. | 351 // Should be invoked from ModulesInitializer. |
| 352 V8TestInterface::updateWrapperTypeInfo( | 352 V8TestInterface::updateWrapperTypeInfo( |
| 353 &V8TestInterfacePartial::installV8TestInterfaceTemplate, | 353 &V8TestInterfacePartial::installV8TestInterfaceTemplate, |
| 354 &V8TestInterfacePartial::preparePrototypeAndInterfaceObject); | 354 &V8TestInterfacePartial::preparePrototypeAndInterfaceObject); |
| 355 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 355 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
| 356 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 356 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
| 357 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 357 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
| 358 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 358 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
| 359 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 359 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
| 360 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 360 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
| 361 } | 361 } |
| 362 | 362 |
| 363 } // namespace blink | 363 } // namespace blink |
| OLD | NEW |