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" |
11 #include "bindings/core/v8/ScriptValue.h" | 11 #include "bindings/core/v8/ScriptValue.h" |
12 #include "bindings/core/v8/UnionTypesCore.h" | 12 #include "bindings/core/v8/UnionTypesCore.h" |
| 13 #include "bindings/core/v8/V8ArrayBufferView.h" |
13 #include "bindings/core/v8/V8Element.h" | 14 #include "bindings/core/v8/V8Element.h" |
14 #include "bindings/core/v8/V8EventTarget.h" | 15 #include "bindings/core/v8/V8EventTarget.h" |
15 #include "bindings/core/v8/V8InternalDictionary.h" | 16 #include "bindings/core/v8/V8InternalDictionary.h" |
16 #include "bindings/core/v8/V8TestInterface.h" | 17 #include "bindings/core/v8/V8TestInterface.h" |
17 #include "bindings/core/v8/V8TestInterface2.h" | 18 #include "bindings/core/v8/V8TestInterface2.h" |
18 #include "bindings/core/v8/V8TestInterfaceGarbageCollected.h" | 19 #include "bindings/core/v8/V8TestInterfaceGarbageCollected.h" |
19 #include "bindings/core/v8/V8TestInterfaceWillBeGarbageCollected.h" | 20 #include "bindings/core/v8/V8TestInterfaceWillBeGarbageCollected.h" |
20 #include "bindings/core/v8/V8Uint8Array.h" | 21 #include "bindings/core/v8/V8Uint8Array.h" |
| 22 #include "core/dom/FlexibleArrayBufferView.h" |
21 #include "core/frame/UseCounter.h" | 23 #include "core/frame/UseCounter.h" |
22 | 24 |
23 namespace blink { | 25 namespace blink { |
24 | 26 |
25 void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value
, TestDictionary& impl, ExceptionState& exceptionState) | 27 void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value
, TestDictionary& impl, ExceptionState& exceptionState) |
26 { | 28 { |
27 if (isUndefinedOrNull(v8Value)) | 29 if (isUndefinedOrNull(v8Value)) |
28 return; | 30 return; |
29 if (!v8Value->IsObject()) { | 31 if (!v8Value->IsObject()) { |
30 exceptionState.throwTypeError("cannot convert to dictionary."); | 32 exceptionState.throwTypeError("cannot convert to dictionary."); |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 } | 843 } |
842 | 844 |
843 TestDictionary NativeValueTraits<TestDictionary>::nativeValue(v8::Isolate* isola
te, v8::Local<v8::Value> value, ExceptionState& exceptionState) | 845 TestDictionary NativeValueTraits<TestDictionary>::nativeValue(v8::Isolate* isola
te, v8::Local<v8::Value> value, ExceptionState& exceptionState) |
844 { | 846 { |
845 TestDictionary impl; | 847 TestDictionary impl; |
846 V8TestDictionary::toImpl(isolate, value, impl, exceptionState); | 848 V8TestDictionary::toImpl(isolate, value, impl, exceptionState); |
847 return impl; | 849 return impl; |
848 } | 850 } |
849 | 851 |
850 } // namespace blink | 852 } // namespace blink |
OLD | NEW |