| 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 8146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8157 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 8157 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 8158 V8StringResource<> stringArg; | 8158 V8StringResource<> stringArg; |
| 8159 { | 8159 { |
| 8160 TOSTRING_VOID_INTERNAL(stringArg, info[0]); | 8160 TOSTRING_VOID_INTERNAL(stringArg, info[0]); |
| 8161 } | 8161 } |
| 8162 impl->overloadedMethodJ(stringArg); | 8162 impl->overloadedMethodJ(stringArg); |
| 8163 } | 8163 } |
| 8164 | 8164 |
| 8165 static void overloadedMethodJ2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) | 8165 static void overloadedMethodJ2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) |
| 8166 { | 8166 { |
| 8167 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodJ", "TestObject", info.Holder(), info.GetIsolate()); |
| 8167 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 8168 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 8168 TestDictionary* testDictionaryArg; | 8169 TestDictionary* testDictionaryArg; |
| 8169 { | 8170 { |
| 8170 v8::TryCatch block; | 8171 v8::TryCatch block; |
| 8171 V8RethrowTryCatchScope rethrow(block); | 8172 V8RethrowTryCatchScope rethrow(block); |
| 8172 if (!info[0]->IsUndefined()) { | 8173 if (!info[0]->IsUndefined()) { |
| 8173 TONATIVE_VOID_INTERNAL(testDictionaryArg, V8TestDictionary::toImpl(i
nfo.GetIsolate(), info[0])); | 8174 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(testDictionaryArg, V8TestDicti
onary::toImpl(info.GetIsolate(), info[0], exceptionState), exceptionState); |
| 8174 } else { | 8175 } else { |
| 8175 testDictionaryArg = TestDictionary::create(); | 8176 testDictionaryArg = TestDictionary::create(); |
| 8176 } | 8177 } |
| 8177 } | 8178 } |
| 8178 impl->overloadedMethodJ(testDictionaryArg); | 8179 impl->overloadedMethodJ(testDictionaryArg); |
| 8179 } | 8180 } |
| 8180 | 8181 |
| 8181 static void overloadedMethodJMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) | 8182 static void overloadedMethodJMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) |
| 8182 { | 8183 { |
| 8183 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodJ", "TestObject", info.Holder(), info.GetIsolate()); | 8184 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodJ", "TestObject", info.Holder(), info.GetIsolate()); |
| (...skipping 3108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11292 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF
orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); | 11293 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF
orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); |
| 11293 if (block.HasCaught()) { | 11294 if (block.HasCaught()) { |
| 11294 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); | 11295 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); |
| 11295 block.ReThrow(); | 11296 block.ReThrow(); |
| 11296 return false; | 11297 return false; |
| 11297 } | 11298 } |
| 11298 return true; | 11299 return true; |
| 11299 } | 11300 } |
| 11300 | 11301 |
| 11301 } // namespace blink | 11302 } // namespace blink |
| OLD | NEW |