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 "V8TestInterfaceNamedConstructor.h" | 8 #include "V8TestInterfaceNamedConstructor.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 bool defaultUndefinedOptionalBooleanArg; | 79 bool defaultUndefinedOptionalBooleanArg; |
80 int defaultUndefinedOptionalLongArg; | 80 int defaultUndefinedOptionalLongArg; |
81 V8StringResource<> defaultUndefinedOptionalStringArg; | 81 V8StringResource<> defaultUndefinedOptionalStringArg; |
82 V8StringResource<> defaultNullStringOptionalstringArg; | 82 V8StringResource<> defaultNullStringOptionalstringArg; |
83 V8StringResource<> optionalStringArg; | 83 V8StringResource<> optionalStringArg; |
84 { | 84 { |
85 stringArg = info[0]; | 85 stringArg = info[0]; |
86 if (!stringArg.prepare()) | 86 if (!stringArg.prepare()) |
87 return; | 87 return; |
88 defaultUndefinedOptionalBooleanArg = info[1]->BooleanValue(); | 88 defaultUndefinedOptionalBooleanArg = info[1]->BooleanValue(); |
89 defaultUndefinedOptionalLongArg = toInt32(info.GetIsolate(), info[2], ex
ceptionState); | 89 defaultUndefinedOptionalLongArg = toInt32(info.GetIsolate(), info[2], No
rmalConversion, exceptionState); |
90 if (exceptionState.throwIfNeeded()) | 90 if (exceptionState.throwIfNeeded()) |
91 return; | 91 return; |
92 defaultUndefinedOptionalStringArg = info[3]; | 92 defaultUndefinedOptionalStringArg = info[3]; |
93 if (!defaultUndefinedOptionalStringArg.prepare()) | 93 if (!defaultUndefinedOptionalStringArg.prepare()) |
94 return; | 94 return; |
95 if (!info[4]->IsUndefined()) { | 95 if (!info[4]->IsUndefined()) { |
96 defaultNullStringOptionalstringArg = info[4]; | 96 defaultNullStringOptionalstringArg = info[4]; |
97 if (!defaultNullStringOptionalstringArg.prepare()) | 97 if (!defaultNullStringOptionalstringArg.prepare()) |
98 return; | 98 return; |
99 } else { | 99 } else { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 { | 191 { |
192 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->ref(); | 192 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->ref(); |
193 } | 193 } |
194 | 194 |
195 void V8TestInterfaceNamedConstructor::derefObject(ScriptWrappable* scriptWrappab
le) | 195 void V8TestInterfaceNamedConstructor::derefObject(ScriptWrappable* scriptWrappab
le) |
196 { | 196 { |
197 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->deref(); | 197 scriptWrappable->toImpl<TestInterfaceNamedConstructor>()->deref(); |
198 } | 198 } |
199 | 199 |
200 } // namespace blink | 200 } // namespace blink |
OLD | NEW |