| 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 #include "V8TestTypedefs.h" | 8 #include "V8TestTypedefs.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 }; | 326 }; |
| 327 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 327 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 328 #pragma clang diagnostic pop | 328 #pragma clang diagnostic pop |
| 329 #endif | 329 #endif |
| 330 | 330 |
| 331 const V8DOMConfiguration::AccessorConfiguration V8TestTypedefsAccessors[] = { | 331 const V8DOMConfiguration::AccessorConfiguration V8TestTypedefsAccessors[] = { |
| 332 {"uLongLongAttribute", TestTypedefsV8Internal::uLongLongAttributeAttributeGe
tterCallback, TestTypedefsV8Internal::uLongLongAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio
n::CheckHolder}, | 332 {"uLongLongAttribute", TestTypedefsV8Internal::uLongLongAttributeAttributeGe
tterCallback, TestTypedefsV8Internal::uLongLongAttributeAttributeSetterCallback,
0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig
uration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio
n::CheckHolder}, |
| 333 }; | 333 }; |
| 334 | 334 |
| 335 const V8DOMConfiguration::MethodConfiguration V8TestTypedefsMethods[] = { | 335 const V8DOMConfiguration::MethodConfiguration V8TestTypedefsMethods[] = { |
| 336 {"voidMethodArrayOfLongsArg", TestTypedefsV8Internal::voidMethodArrayOfLongs
ArgMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 336 {"voidMethodArrayOfLongsArg", TestTypedefsV8Internal::voidMethodArrayOfLongs
ArgMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigura
tion::OnPrototype}, |
| 337 {"voidMethodFloatArgStringArg", TestTypedefsV8Internal::voidMethodFloatArgSt
ringArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, | 337 {"voidMethodFloatArgStringArg", TestTypedefsV8Internal::voidMethodFloatArgSt
ringArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype}, |
| 338 {"voidMethodTestCallbackInterfaceTypeArg", TestTypedefsV8Internal::voidMetho
dTestCallbackInterfaceTypeArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedTo
AllScripts}, | 338 {"voidMethodTestCallbackInterfaceTypeArg", TestTypedefsV8Internal::voidMetho
dTestCallbackInterfaceTypeArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnPrototype}, |
| 339 {"uLongLongMethodTestInterfaceEmptyTypeSequenceArg", TestTypedefsV8Internal:
:uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback, 0, 1, V8DOMConf
iguration::ExposedToAllScripts}, | 339 {"uLongLongMethodTestInterfaceEmptyTypeSequenceArg", TestTypedefsV8Internal:
:uLongLongMethodTestInterfaceEmptyTypeSequenceArgMethodCallback, 0, 1, V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 340 {"testInterfaceOrTestInterfaceEmptyMethod", TestTypedefsV8Internal::testInte
rfaceOrTestInterfaceEmptyMethodMethodCallback, 0, 0, V8DOMConfiguration::Exposed
ToAllScripts}, | 340 {"testInterfaceOrTestInterfaceEmptyMethod", TestTypedefsV8Internal::testInte
rfaceOrTestInterfaceEmptyMethodMethodCallback, 0, 0, V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 341 {"domStringOrDoubleMethod", TestTypedefsV8Internal::domStringOrDoubleMethodM
ethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 341 {"domStringOrDoubleMethod", TestTypedefsV8Internal::domStringOrDoubleMethodM
ethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration
::OnPrototype}, |
| 342 {"arrayOfStringsMethodArrayOfStringsArg", TestTypedefsV8Internal::arrayOfStr
ingsMethodArrayOfStringsArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAl
lScripts}, | 342 {"arrayOfStringsMethodArrayOfStringsArg", TestTypedefsV8Internal::arrayOfStr
ingsMethodArrayOfStringsArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}, |
| 343 {"stringArrayMethodStringArrayArg", TestTypedefsV8Internal::stringArrayMetho
dStringArrayArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, | 343 {"stringArrayMethodStringArrayArg", TestTypedefsV8Internal::stringArrayMetho
dStringArrayArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts, V8
DOMConfiguration::OnPrototype}, |
| 344 }; | 344 }; |
| 345 | 345 |
| 346 void V8TestTypedefs::constructorCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) | 346 void V8TestTypedefs::constructorCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) |
| 347 { | 347 { |
| 348 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); | 348 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
| 349 if (!info.IsConstructCall()) { | 349 if (!info.IsConstructCall()) { |
| 350 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c
onstructorNotCallableAsFunction("TestTypedefs")); | 350 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c
onstructorNotCallableAsFunction("TestTypedefs")); |
| 351 return; | 351 return; |
| 352 } | 352 } |
| 353 | 353 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 { | 403 { |
| 404 scriptWrappable->toImpl<TestTypedefs>()->ref(); | 404 scriptWrappable->toImpl<TestTypedefs>()->ref(); |
| 405 } | 405 } |
| 406 | 406 |
| 407 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) | 407 void V8TestTypedefs::derefObject(ScriptWrappable* scriptWrappable) |
| 408 { | 408 { |
| 409 scriptWrappable->toImpl<TestTypedefs>()->deref(); | 409 scriptWrappable->toImpl<TestTypedefs>()->deref(); |
| 410 } | 410 } |
| 411 | 411 |
| 412 } // namespace blink | 412 } // namespace blink |
| OLD | NEW |