| 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 "V8TestObject.h" | 8 #include "V8TestObject.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
| (...skipping 9999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10010 } | 10010 } |
| 10011 #endif // ENABLE(CONDITION) | 10011 #endif // ENABLE(CONDITION) |
| 10012 | 10012 |
| 10013 static void customVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va
lue>& info) | 10013 static void customVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Va
lue>& info) |
| 10014 { | 10014 { |
| 10015 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 10015 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 10016 V8TestObject::customVoidMethodMethodCustom(info); | 10016 V8TestObject::customVoidMethodMethodCustom(info); |
| 10017 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 10017 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 10018 } | 10018 } |
| 10019 | 10019 |
| 10020 static void customCallEpilogueVoidMethodMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) |
| 10021 { |
| 10022 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 10023 impl->customCallEpilogueVoidMethod(); |
| 10024 V8TestObject::customCallEpilogueVoidMethodMethodEpilogueCustom(info, impl); |
| 10025 } |
| 10026 |
| 10027 static void customCallEpilogueVoidMethodMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) |
| 10028 { |
| 10029 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 10030 TestObjectV8Internal::customCallEpilogueVoidMethodMethod(info); |
| 10031 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 10032 } |
| 10033 |
| 10020 #if ENABLE(CONDITION) | 10034 #if ENABLE(CONDITION) |
| 10021 static void conditionalConditionCustomVoidMethodMethodCallback(const v8::Functio
nCallbackInfo<v8::Value>& info) | 10035 static void conditionalConditionCustomVoidMethodMethodCallback(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| 10022 { | 10036 { |
| 10023 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 10037 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 10024 V8TestObject::conditionalConditionCustomVoidMethodMethodCustom(info); | 10038 V8TestObject::conditionalConditionCustomVoidMethodMethodCustom(info); |
| 10025 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 10039 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 10026 } | 10040 } |
| 10027 #endif // ENABLE(CONDITION) | 10041 #endif // ENABLE(CONDITION) |
| 10028 | 10042 |
| 10029 static void customElementCallbacksVoidMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) | 10043 static void customElementCallbacksVoidMethodMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| (...skipping 2393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12423 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call
WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0, V8DOMConfiguratio
n::ExposedToAllScripts}, | 12437 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call
WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0, V8DOMConfiguratio
n::ExposedToAllScripts}, |
| 12424 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW
ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration:
:ExposedToAllScripts}, | 12438 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW
ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration:
:ExposedToAllScripts}, |
| 12425 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec
tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho
dCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12439 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec
tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho
dCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12426 {"callWithActiveWindow", TestObjectV8Internal::callWithActiveWindowMethodCal
lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12440 {"callWithActiveWindow", TestObjectV8Internal::callWithActiveWindowMethodCal
lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12427 {"callWithActiveWindowScriptWindow", TestObjectV8Internal::callWithActiveWin
dowScriptWindowMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12441 {"callWithActiveWindowScriptWindow", TestObjectV8Internal::callWithActiveWin
dowScriptWindowMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12428 {"checkSecurityForNodeVoidMethod", TestObjectV8Internal::checkSecurityForNod
eVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12442 {"checkSecurityForNodeVoidMethod", TestObjectV8Internal::checkSecurityForNod
eVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12429 #if ENABLE(CONDITION) | 12443 #if ENABLE(CONDITION) |
| 12430 {"conditionalConditionVoidMethod", TestObjectV8Internal::conditionalConditio
nVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12444 {"conditionalConditionVoidMethod", TestObjectV8Internal::conditionalConditio
nVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12431 #endif // ENABLE(CONDITION) | 12445 #endif // ENABLE(CONDITION) |
| 12432 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12446 {"customVoidMethod", TestObjectV8Internal::customVoidMethodMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12447 {"customCallEpilogueVoidMethod", TestObjectV8Internal::customCallEpilogueVoi
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12433 #if ENABLE(CONDITION) | 12448 #if ENABLE(CONDITION) |
| 12434 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo
nditionCustomVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts}, | 12449 {"conditionalConditionCustomVoidMethod", TestObjectV8Internal::conditionalCo
nditionCustomVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts}, |
| 12435 #endif // ENABLE(CONDITION) | 12450 #endif // ENABLE(CONDITION) |
| 12436 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall
backsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12451 {"customElementCallbacksVoidMethod", TestObjectV8Internal::customElementCall
backsVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12437 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal
lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12452 {"deprecatedVoidMethod", TestObjectV8Internal::deprecatedVoidMethodMethodCal
lback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12438 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet
hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12453 {"implementedAsVoidMethod", TestObjectV8Internal::implementedAsVoidMethodMet
hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12439 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb
ack, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12454 {"measureAsVoidMethod", TestObjectV8Internal::measureAsVoidMethodMethodCallb
ack, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12440 {"measureMethod", TestObjectV8Internal::measureMethodMethodCallback, 0, 0, V
8DOMConfiguration::ExposedToAllScripts}, | 12455 {"measureMethod", TestObjectV8Internal::measureMethodMethodCallback, 0, 0, V
8DOMConfiguration::ExposedToAllScripts}, |
| 12441 {"measureOverloadedMethod", TestObjectV8Internal::measureOverloadedMethodMet
hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12456 {"measureOverloadedMethod", TestObjectV8Internal::measureOverloadedMethodMet
hodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 12442 {"DeprecateAsOverloadedMethod", TestObjectV8Internal::DeprecateAsOverloadedM
ethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 12457 {"DeprecateAsOverloadedMethod", TestObjectV8Internal::DeprecateAsOverloadedM
ethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13173 return false; | 13188 return false; |
| 13174 | 13189 |
| 13175 ScriptState::Scope scope(scriptState); | 13190 ScriptState::Scope scope(scriptState); |
| 13176 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); | 13191 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa
l(), scriptState->isolate()); |
| 13177 | 13192 |
| 13178 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; | 13193 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate
Script", "TestObject", scriptState->context()->Global(), scriptState->isolate())
; |
| 13179 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); | 13194 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState->
isolate(), cppValue)); |
| 13180 } | 13195 } |
| 13181 | 13196 |
| 13182 } // namespace blink | 13197 } // namespace blink |
| OLD | NEW |