Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h

Issue 2709983004: WIP bindings: Add support for the record<K,V> WebIDL type. (Closed)
Patch Set: Rebased patch using NativeValueTraits for IDL types Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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, TestDictionaryDer ivedImplementedAs& impl, v8::Local<v8::Object> creationContext) { 38 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDer ivedImplementedAs& impl, 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<TestDictionaryDerivedImplementedAs> { 43 struct NativeValueTraits<TestDictionaryDerivedImplementedAs> {
44 static TestDictionaryDerivedImplementedAs nativeValue(v8::Isolate*, v8::Local< v8::Value>, ExceptionState&); 44 using ImplType = TestDictionaryDerivedImplementedAs;
45 CORE_EXPORT static TestDictionaryDerivedImplementedAs nativeValue(v8::Isolate* , v8::Local<v8::Value>, ExceptionState&);
45 }; 46 };
46 47
47 template <> 48 template <>
48 struct V8TypeOf<TestDictionaryDerivedImplementedAs> { 49 struct V8TypeOf<TestDictionaryDerivedImplementedAs> {
49 typedef V8TestDictionaryDerivedImplementedAs Type; 50 typedef V8TestDictionaryDerivedImplementedAs Type;
50 }; 51 };
51 52
52 } // namespace blink 53 } // namespace blink
53 54
54 #endif // V8TestDictionaryDerived_h 55 #endif // V8TestDictionaryDerived_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698