| 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 8226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8237 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 8237 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 8238 V8StringResource<> stringArg; | 8238 V8StringResource<> stringArg; |
| 8239 { | 8239 { |
| 8240 TOSTRING_VOID_INTERNAL(stringArg, info[0]); | 8240 TOSTRING_VOID_INTERNAL(stringArg, info[0]); |
| 8241 } | 8241 } |
| 8242 impl->overloadedMethodJ(stringArg); | 8242 impl->overloadedMethodJ(stringArg); |
| 8243 } | 8243 } |
| 8244 | 8244 |
| 8245 static void overloadedMethodJ2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) | 8245 static void overloadedMethodJ2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) |
| 8246 { | 8246 { |
| 8247 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodJ", "TestObject", info.Holder(), info.GetIsolate()); |
| 8247 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 8248 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 8248 TestDictionary* testDictionaryArg; | 8249 TestDictionary* testDictionaryArg; |
| 8249 { | 8250 { |
| 8250 v8::TryCatch block; | 8251 v8::TryCatch block; |
| 8251 V8RethrowTryCatchScope rethrow(block); | 8252 V8RethrowTryCatchScope rethrow(block); |
| 8252 if (!info[0]->IsUndefined()) { | 8253 if (!info[0]->IsUndefined()) { |
| 8253 TONATIVE_VOID_INTERNAL(testDictionaryArg, V8TestDictionary::toImpl(i
nfo.GetIsolate(), info[0])); | 8254 TONATIVE_VOID_INTERNAL(testDictionaryArg, V8TestDictionary::toImpl(i
nfo.GetIsolate(), info[0], exceptionState)); |
| 8254 } else { | 8255 } else { |
| 8255 testDictionaryArg = TestDictionary::create(); | 8256 testDictionaryArg = TestDictionary::create(); |
| 8256 } | 8257 } |
| 8257 } | 8258 } |
| 8258 impl->overloadedMethodJ(testDictionaryArg); | 8259 impl->overloadedMethodJ(testDictionaryArg); |
| 8259 } | 8260 } |
| 8260 | 8261 |
| 8261 static void overloadedMethodJMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) | 8262 static void overloadedMethodJMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) |
| 8262 { | 8263 { |
| 8263 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodJ", "TestObject", info.Holder(), info.GetIsolate()); | 8264 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodJ", "TestObject", info.Holder(), info.GetIsolate()); |
| (...skipping 3110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11374 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF
orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); | 11375 PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "enumF
orPrivateScript", holder, v8String(scriptState->isolate(), cppValue)); |
| 11375 if (block.HasCaught()) { | 11376 if (block.HasCaught()) { |
| 11376 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); | 11377 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); |
| 11377 block.ReThrow(); | 11378 block.ReThrow(); |
| 11378 return false; | 11379 return false; |
| 11379 } | 11380 } |
| 11380 return true; | 11381 return true; |
| 11381 } | 11382 } |
| 11382 | 11383 |
| 11383 } // namespace blink | 11384 } // namespace blink |
| OLD | NEW |