| 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 "V8TestInterfaceConstructor2.h" | 8 #include "V8TestInterfaceConstructor2.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 { | 85 { |
| 86 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor2", info.Holder(), info.GetIsolate()); | 86 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte
rfaceConstructor2", info.Holder(), info.GetIsolate()); |
| 87 TestInterfaceEmpty* testInterfaceEmptyArg; | 87 TestInterfaceEmpty* testInterfaceEmptyArg; |
| 88 int longArg; | 88 int longArg; |
| 89 V8StringResource<> defaultUndefinedOptionalStringArg; | 89 V8StringResource<> defaultUndefinedOptionalStringArg; |
| 90 V8StringResource<> defaultNullStringOptionalStringArg; | 90 V8StringResource<> defaultNullStringOptionalStringArg; |
| 91 Dictionary defaultUndefinedOptionalDictionaryArg; | 91 Dictionary defaultUndefinedOptionalDictionaryArg; |
| 92 V8StringResource<> optionalStringArg; | 92 V8StringResource<> optionalStringArg; |
| 93 { | 93 { |
| 94 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); | 94 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); |
| 95 longArg = toInt32(info[1], exceptionState); | 95 longArg = toInt32(info.GetIsolate(), info[1], exceptionState); |
| 96 if (exceptionState.throwIfNeeded()) | 96 if (exceptionState.throwIfNeeded()) |
| 97 return; | 97 return; |
| 98 defaultUndefinedOptionalStringArg = info[2]; | 98 defaultUndefinedOptionalStringArg = info[2]; |
| 99 if (!defaultUndefinedOptionalStringArg.prepare()) | 99 if (!defaultUndefinedOptionalStringArg.prepare()) |
| 100 return; | 100 return; |
| 101 if (!info[3]->IsUndefined()) { | 101 if (!info[3]->IsUndefined()) { |
| 102 defaultNullStringOptionalStringArg = info[3]; | 102 defaultNullStringOptionalStringArg = info[3]; |
| 103 if (!defaultNullStringOptionalStringArg.prepare()) | 103 if (!defaultNullStringOptionalStringArg.prepare()) |
| 104 return; | 104 return; |
| 105 } else { | 105 } else { |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 { | 249 { |
| 250 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); | 250 scriptWrappable->toImpl<TestInterfaceConstructor2>()->ref(); |
| 251 } | 251 } |
| 252 | 252 |
| 253 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) | 253 void V8TestInterfaceConstructor2::derefObject(ScriptWrappable* scriptWrappable) |
| 254 { | 254 { |
| 255 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); | 255 scriptWrappable->toImpl<TestInterfaceConstructor2>()->deref(); |
| 256 } | 256 } |
| 257 | 257 |
| 258 } // namespace blink | 258 } // namespace blink |
| OLD | NEW |