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. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/dictionary_v8.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/dictionary_v8.h.tmpl |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(), callbackInfo.
GetIsolate())); | 34 v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(), callbackInfo.
GetIsolate())); |
35 } | 35 } |
36 | 36 |
37 template <class CallbackInfo> | 37 template <class CallbackInfo> |
38 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionary& i
mpl, v8::Local<v8::Object> creationContext) { | 38 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionary& i
mpl, v8::Local<v8::Object> creationContext) { |
39 v8SetReturnValue(callbackInfo, ToV8(impl, creationContext, callbackInfo.GetIso
late())); | 39 v8SetReturnValue(callbackInfo, ToV8(impl, creationContext, callbackInfo.GetIso
late())); |
40 } | 40 } |
41 | 41 |
42 template <> | 42 template <> |
43 struct NativeValueTraits<TestDictionary> { | 43 struct NativeValueTraits<TestDictionary> { |
44 static TestDictionary nativeValue(v8::Isolate*, v8::Local<v8::Value>, Exceptio
nState&); | 44 using ImplType = TestDictionary; |
| 45 CORE_EXPORT static TestDictionary nativeValue(v8::Isolate*, v8::Local<v8::Valu
e>, ExceptionState&); |
45 }; | 46 }; |
46 | 47 |
47 template <> | 48 template <> |
48 struct V8TypeOf<TestDictionary> { | 49 struct V8TypeOf<TestDictionary> { |
49 typedef V8TestDictionary Type; | 50 typedef V8TestDictionary Type; |
50 }; | 51 }; |
51 | 52 |
52 } // namespace blink | 53 } // namespace blink |
53 | 54 |
54 #endif // V8TestDictionary_h | 55 #endif // V8TestDictionary_h |
OLD | NEW |