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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 return; | 71 return; |
72 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[2]); | 72 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[2]); |
73 if (!isUndefinedOrNull(info[3]) && !info[3]->IsObject()) { | 73 if (!isUndefinedOrNull(info[3]) && !info[3]->IsObject()) { |
74 exceptionState.throwTypeError("parameter 4 ('dictionaryArg') is not
an object."); | 74 exceptionState.throwTypeError("parameter 4 ('dictionaryArg') is not
an object."); |
75 exceptionState.throwIfNeeded(); | 75 exceptionState.throwIfNeeded(); |
76 return; | 76 return; |
77 } | 77 } |
78 dictionaryArg = Dictionary(info[3], info.GetIsolate(), exceptionState); | 78 dictionaryArg = Dictionary(info[3], info.GetIsolate(), exceptionState); |
79 if (exceptionState.throwIfNeeded()) | 79 if (exceptionState.throwIfNeeded()) |
80 return; | 80 return; |
81 sequenceStringArg = toImplArray<String>(info[4], 5, info.GetIsolate(), e
xceptionState); | 81 sequenceStringArg = toImplArray<Vector<String>>(info[4], 5, info.GetIsol
ate(), exceptionState); |
82 if (exceptionState.throwIfNeeded()) | 82 if (exceptionState.throwIfNeeded()) |
83 return; | 83 return; |
84 sequenceDictionaryArg = toImplArray<Dictionary>(info[5], 6, info.GetIsol
ate(), exceptionState); | 84 sequenceDictionaryArg = toImplArray<Vector<Dictionary>>(info[5], 6, info
.GetIsolate(), exceptionState); |
85 if (exceptionState.throwIfNeeded()) | 85 if (exceptionState.throwIfNeeded()) |
86 return; | 86 return; |
87 sequenceLongOrTestDictionaryArg = toImplArray<LongOrTestDictionary>(info
[6], 7, info.GetIsolate(), exceptionState); | 87 sequenceLongOrTestDictionaryArg = toImplArray<Vector<LongOrTestDictionar
y>>(info[6], 7, info.GetIsolate(), exceptionState); |
88 if (exceptionState.throwIfNeeded()) | 88 if (exceptionState.throwIfNeeded()) |
89 return; | 89 return; |
90 if (!isUndefinedOrNull(info[7]) && !info[7]->IsObject()) { | 90 if (!isUndefinedOrNull(info[7]) && !info[7]->IsObject()) { |
91 exceptionState.throwTypeError("parameter 8 ('optionalDictionaryArg')
is not an object."); | 91 exceptionState.throwTypeError("parameter 8 ('optionalDictionaryArg')
is not an object."); |
92 exceptionState.throwIfNeeded(); | 92 exceptionState.throwIfNeeded(); |
93 return; | 93 return; |
94 } | 94 } |
95 optionalDictionaryArg = Dictionary(info[7], info.GetIsolate(), exception
State); | 95 optionalDictionaryArg = Dictionary(info[7], info.GetIsolate(), exception
State); |
96 if (exceptionState.throwIfNeeded()) | 96 if (exceptionState.throwIfNeeded()) |
97 return; | 97 return; |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 { | 376 { |
377 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref(); | 377 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref(); |
378 } | 378 } |
379 | 379 |
380 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable) | 380 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable) |
381 { | 381 { |
382 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref(); | 382 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref(); |
383 } | 383 } |
384 | 384 |
385 } // namespace blink | 385 } // namespace blink |
OLD | NEW |