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/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 } | 582 } |
583 | 583 |
584 if (impl.hasUnrestrictedDoubleMember()) { | 584 if (impl.hasUnrestrictedDoubleMember()) { |
585 dictionary->Set(v8String(isolate, "unrestrictedDoubleMember"), v8::Numbe
r::New(isolate, impl.unrestrictedDoubleMember())); | 585 dictionary->Set(v8String(isolate, "unrestrictedDoubleMember"), v8::Numbe
r::New(isolate, impl.unrestrictedDoubleMember())); |
586 } else { | 586 } else { |
587 dictionary->Set(v8String(isolate, "unrestrictedDoubleMember"), v8::Numbe
r::New(isolate, 3.14)); | 587 dictionary->Set(v8String(isolate, "unrestrictedDoubleMember"), v8::Numbe
r::New(isolate, 3.14)); |
588 } | 588 } |
589 | 589 |
590 } | 590 } |
591 | 591 |
592 TestDictionary NativeValueTraits<TestDictionary>::nativeValue(v8::Local<v8::Valu
e> value, v8::Isolate* isolate, ExceptionState& exceptionState) | 592 TestDictionary NativeValueTraits<TestDictionary>::nativeValue(v8::Isolate* isola
te, v8::Local<v8::Value> value, ExceptionState& exceptionState) |
593 { | 593 { |
594 TestDictionary impl; | 594 TestDictionary impl; |
595 V8TestDictionary::toImpl(isolate, value, impl, exceptionState); | 595 V8TestDictionary::toImpl(isolate, value, impl, exceptionState); |
596 return impl; | 596 return impl; |
597 } | 597 } |
598 | 598 |
599 } // namespace blink | 599 } // namespace blink |
OLD | NEW |