| 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 "V8TestDictionary.h" | 8 #include "V8TestDictionary.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| 11 #include "bindings/core/v8/ExceptionState.h" | 11 #include "bindings/core/v8/ExceptionState.h" |
| 12 #include "bindings/tests/v8/V8TestInterface.h" | 12 #include "bindings/core/v8/V8TestInterface.h" |
| 13 #include "bindings/tests/v8/V8TestInterfaceGarbageCollected.h" | 13 #include "bindings/core/v8/V8TestInterfaceGarbageCollected.h" |
| 14 #include "bindings/tests/v8/V8TestInterfaceWillBeGarbageCollected.h" | 14 #include "bindings/core/v8/V8TestInterfaceWillBeGarbageCollected.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 TestDictionary* V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Va
lue> v8Value, ExceptionState& exceptionState) | 18 TestDictionary* V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Va
lue> v8Value, ExceptionState& exceptionState) |
| 19 { | 19 { |
| 20 TestDictionary* impl = TestDictionary::create(); | 20 TestDictionary* impl = TestDictionary::create(); |
| 21 // FIXME: Do not use Dictionary and DictionaryHelper | 21 // FIXME: Do not use Dictionary and DictionaryHelper |
| 22 // https://crbug.com/321462 | 22 // https://crbug.com/321462 |
| 23 Dictionary dictionary(v8Value, isolate); | 23 Dictionary dictionary(v8Value, isolate); |
| 24 // FIXME: Remove this v8::TryCatch once the code is switched from | 24 // FIXME: Remove this v8::TryCatch once the code is switched from |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 if (impl->hasTestInterfaceOrNullMember()) | 166 if (impl->hasTestInterfaceOrNullMember()) |
| 167 v8Object->Set(v8String(isolate, "testInterfaceOrNullMember"), toV8(impl-
>testInterfaceOrNullMember(), creationContext, isolate)); | 167 v8Object->Set(v8String(isolate, "testInterfaceOrNullMember"), toV8(impl-
>testInterfaceOrNullMember(), creationContext, isolate)); |
| 168 if (impl->hasTestInterfaceWillBeGarbageCollectedMember()) | 168 if (impl->hasTestInterfaceWillBeGarbageCollectedMember()) |
| 169 v8Object->Set(v8String(isolate, "testInterfaceWillBeGarbageCollectedMemb
er"), toV8(impl->testInterfaceWillBeGarbageCollectedMember(), creationContext, i
solate)); | 169 v8Object->Set(v8String(isolate, "testInterfaceWillBeGarbageCollectedMemb
er"), toV8(impl->testInterfaceWillBeGarbageCollectedMember(), creationContext, i
solate)); |
| 170 if (impl->hasTestInterfaceWillBeGarbageCollectedOrNullMember()) | 170 if (impl->hasTestInterfaceWillBeGarbageCollectedOrNullMember()) |
| 171 v8Object->Set(v8String(isolate, "testInterfaceWillBeGarbageCollectedOrNu
llMember"), toV8(impl->testInterfaceWillBeGarbageCollectedOrNullMember(), creati
onContext, isolate)); | 171 v8Object->Set(v8String(isolate, "testInterfaceWillBeGarbageCollectedOrNu
llMember"), toV8(impl->testInterfaceWillBeGarbageCollectedOrNullMember(), creati
onContext, isolate)); |
| 172 return v8Object; | 172 return v8Object; |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace blink | 175 } // namespace blink |
| OLD | NEW |