| 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 "V8TestInterfaceConstructor.h" | 8 #include "V8TestInterfaceConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 V8RethrowTryCatchScope rethrow(block); | 66 V8RethrowTryCatchScope rethrow(block); |
| 67 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(doubleArg, toDouble(info[0], excep
tionState), exceptionState); | 67 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(doubleArg, toDouble(info[0], excep
tionState), exceptionState); |
| 68 TOSTRING_VOID_INTERNAL(stringArg, info[1]); | 68 TOSTRING_VOID_INTERNAL(stringArg, info[1]); |
| 69 TONATIVE_VOID_INTERNAL(testInterfaceEmptyArg, V8TestInterfaceEmpty::toIm
plWithTypeCheck(info.GetIsolate(), info[2])); | 69 TONATIVE_VOID_INTERNAL(testInterfaceEmptyArg, V8TestInterfaceEmpty::toIm
plWithTypeCheck(info.GetIsolate(), info[2])); |
| 70 TONATIVE_VOID_INTERNAL(dictionaryArg, Dictionary(info[3], info.GetIsolat
e())); | 70 TONATIVE_VOID_INTERNAL(dictionaryArg, Dictionary(info[3], info.GetIsolat
e())); |
| 71 if (!dictionaryArg.isUndefinedOrNull() && !dictionaryArg.isObject()) { | 71 if (!dictionaryArg.isUndefinedOrNull() && !dictionaryArg.isObject()) { |
| 72 exceptionState.throwTypeError("parameter 4 ('dictionaryArg') is not
an object."); | 72 exceptionState.throwTypeError("parameter 4 ('dictionaryArg') is not
an object."); |
| 73 exceptionState.throwIfNeeded(); | 73 exceptionState.throwIfNeeded(); |
| 74 return; | 74 return; |
| 75 } | 75 } |
| 76 TONATIVE_VOID_INTERNAL(sequenceStringArg, toImplArray<String>(info[4], 5
, info.GetIsolate())); | 76 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceStringArg, toImplArray<Str
ing>(info[4], 5, info.GetIsolate(), exceptionState), exceptionState); |
| 77 TONATIVE_VOID_INTERNAL(sequenceDictionaryArg, toImplArray<Dictionary>(in
fo[5], 6, info.GetIsolate())); | 77 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceDictionaryArg, toImplArray
<Dictionary>(info[5], 6, info.GetIsolate(), exceptionState), exceptionState); |
| 78 TONATIVE_VOID_INTERNAL(optionalDictionaryArg, Dictionary(info[6], info.G
etIsolate())); | 78 TONATIVE_VOID_INTERNAL(optionalDictionaryArg, Dictionary(info[6], info.G
etIsolate())); |
| 79 if (!optionalDictionaryArg.isUndefinedOrNull() && !optionalDictionaryArg
.isObject()) { | 79 if (!optionalDictionaryArg.isUndefinedOrNull() && !optionalDictionaryArg
.isObject()) { |
| 80 exceptionState.throwTypeError("parameter 7 ('optionalDictionaryArg')
is not an object."); | 80 exceptionState.throwTypeError("parameter 7 ('optionalDictionaryArg')
is not an object."); |
| 81 exceptionState.throwIfNeeded(); | 81 exceptionState.throwIfNeeded(); |
| 82 return; | 82 return; |
| 83 } | 83 } |
| 84 TONATIVE_VOID_INTERNAL(optionalTestInterfaceEmptyArg, V8TestInterfaceEmp
ty::toImplWithTypeCheck(info.GetIsolate(), info[7])); | 84 TONATIVE_VOID_INTERNAL(optionalTestInterfaceEmptyArg, V8TestInterfaceEmp
ty::toImplWithTypeCheck(info.GetIsolate(), info[7])); |
| 85 } | 85 } |
| 86 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); | 86 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate
()); |
| 87 Document& document = *toDocument(currentExecutionContext(info.GetIsolate()))
; | 87 Document& document = *toDocument(currentExecutionContext(info.GetIsolate()))
; |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 return 0; | 354 return 0; |
| 355 } | 355 } |
| 356 | 356 |
| 357 template<> | 357 template<> |
| 358 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) | 358 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) |
| 359 { | 359 { |
| 360 return toV8(impl, creationContext, isolate); | 360 return toV8(impl, creationContext, isolate); |
| 361 } | 361 } |
| 362 | 362 |
| 363 } // namespace blink | 363 } // namespace blink |
| OLD | NEW |