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

Side by Side Diff: Source/bindings/tests/results/core/V8TestPermissiveDictionary.h

Issue 795833004: Use dictionaries for context creation attributes. Eliminate custom bindings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years 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 | Annotate | Revision Log
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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #ifndef V8TestInterfaceEventInit_h 7 #ifndef V8TestPermissiveDictionary_h
8 #define V8TestInterfaceEventInit_h 8 #define V8TestPermissiveDictionary_h
9 9
10 #include "bindings/core/v8/ToV8.h" 10 #include "bindings/core/v8/ToV8.h"
11 #include "bindings/core/v8/V8Binding.h" 11 #include "bindings/core/v8/V8Binding.h"
12 #include "bindings/tests/idls/core/TestInterfaceEventInit.h" 12 #include "bindings/tests/idls/core/TestPermissiveDictionary.h"
13 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class ExceptionState; 17 class ExceptionState;
18 18
19 class V8TestInterfaceEventInit { 19 class V8TestPermissiveDictionary {
20 public: 20 public:
21 static void toImpl(v8::Isolate*, v8::Handle<v8::Value>, TestInterfaceEventIn it&, ExceptionState&); 21 static void toImpl(v8::Isolate*, v8::Handle<v8::Value>, TestPermissiveDictio nary&, ExceptionState&);
22 }; 22 };
23 23
24 v8::Handle<v8::Value> toV8(const TestInterfaceEventInit&, v8::Handle<v8::Object> , v8::Isolate*); 24 v8::Handle<v8::Value> toV8(const TestPermissiveDictionary&, v8::Handle<v8::Objec t>, v8::Isolate*);
25 void toV8TestInterfaceEventInit(const TestInterfaceEventInit&, v8::Handle<v8::Ob ject> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*); 25 void toV8TestPermissiveDictionary(const TestPermissiveDictionary&, v8::Handle<v8 ::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*);
26 26
27 template<class CallbackInfo> 27 template<class CallbackInfo>
28 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceEven tInit& impl) 28 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestPermissiveDic tionary& impl)
29 { 29 {
30 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInf o.GetIsolate())); 30 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInf o.GetIsolate()));
31 } 31 }
32 32
33 template <> 33 template <>
34 struct NativeValueTraits<TestInterfaceEventInit> { 34 struct NativeValueTraits<TestPermissiveDictionary> {
35 static TestInterfaceEventInit nativeValue(const v8::Handle<v8::Value>&, v8:: Isolate*, ExceptionState&); 35 static TestPermissiveDictionary nativeValue(const v8::Handle<v8::Value>&, v8 ::Isolate*, ExceptionState&);
36 }; 36 };
37 37
38 } // namespace blink 38 } // namespace blink
39 39
40 #endif // V8TestInterfaceEventInit_h 40 #endif // V8TestPermissiveDictionary_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestObject.cpp ('k') | Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698