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

Side by Side Diff: Source/bindings/tests/results/V8TestObjectPython.h

Issue 39393004: IDL compiler: rename WrapperTypeInfo info => wrapperTypeInfo (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 20 matching lines...) Expand all
31 class V8TestObjectPython { 31 class V8TestObjectPython {
32 public: 32 public:
33 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp e); 33 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp e);
34 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); 34 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*);
35 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor ldType); 35 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor ldType);
36 static TestObjectPython* toNative(v8::Handle<v8::Object> object) 36 static TestObjectPython* toNative(v8::Handle<v8::Object> object)
37 { 37 {
38 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex)); 38 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex));
39 } 39 }
40 static void derefObject(void*); 40 static void derefObject(void*);
41 static WrapperTypeInfo info; 41 static WrapperTypeInfo wrapperTypeInfo;
42 static void customLongAttributeAttributeGetterCustom(v8::Local<v8::String> n ame, const v8::PropertyCallbackInfo<v8::Value>&); 42 static void customLongAttributeAttributeGetterCustom(v8::Local<v8::String> n ame, const v8::PropertyCallbackInfo<v8::Value>&);
43 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::String> n ame, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 43 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::String> n ame, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
44 static void customGetterLongAttributeAttributeGetterCustom(v8::Local<v8::Str ing> name, const v8::PropertyCallbackInfo<v8::Value>&); 44 static void customGetterLongAttributeAttributeGetterCustom(v8::Local<v8::Str ing> name, const v8::PropertyCallbackInfo<v8::Value>&);
45 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Str ing> name, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 45 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Str ing> name, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
46 #if ENABLE(Condition) 46 #if ENABLE(Condition)
47 static void customLongAttributeAttributeGetterCustom(v8::Local<v8::String> n ame, const v8::PropertyCallbackInfo<v8::Value>&); 47 static void customLongAttributeAttributeGetterCustom(v8::Local<v8::String> n ame, const v8::PropertyCallbackInfo<v8::Value>&);
48 #endif // ENABLE(Condition) 48 #endif // ENABLE(Condition)
49 #if ENABLE(Condition) 49 #if ENABLE(Condition)
50 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::String> n ame, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 50 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::String> n ame, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
51 #endif // ENABLE(Condition) 51 #endif // ENABLE(Condition)
(...skipping 18 matching lines...) Expand all
70 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec t>, v8::Isolate*) { } 70 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec t>, v8::Isolate*) { }
71 71
72 private: 72 private:
73 friend v8::Handle<v8::Object> wrap(TestObjectPython*, v8::Handle<v8::Object> creationContext, v8::Isolate*); 73 friend v8::Handle<v8::Object> wrap(TestObjectPython*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
74 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObjectPython>, v8 ::Handle<v8::Object> creationContext, v8::Isolate*); 74 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObjectPython>, v8 ::Handle<v8::Object> creationContext, v8::Isolate*);
75 }; 75 };
76 76
77 template<> 77 template<>
78 class WrapperTypeTraits<TestObjectPython > { 78 class WrapperTypeTraits<TestObjectPython > {
79 public: 79 public:
80 static WrapperTypeInfo* info() { return &V8TestObjectPython::info; } 80 static WrapperTypeInfo* wrapperTypeInfo() { return &V8TestObjectPython::wrap perTypeInfo; }
81 }; 81 };
82 82
83 inline v8::Handle<v8::Object> wrap(TestObjectPython* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate) 83 inline v8::Handle<v8::Object> wrap(TestObjectPython* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate)
84 { 84 {
85 ASSERT(impl); 85 ASSERT(impl);
86 ASSERT(!DOMDataStore::containsWrapper<V8TestObjectPython>(impl, isolate)); 86 ASSERT(!DOMDataStore::containsWrapper<V8TestObjectPython>(impl, isolate));
87 return V8TestObjectPython::createWrapper(impl, creationContext, isolate); 87 return V8TestObjectPython::createWrapper(impl, creationContext, isolate);
88 } 88 }
89 89
90 inline v8::Handle<v8::Value> toV8(TestObjectPython* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 90 inline v8::Handle<v8::Value> toV8(TestObjectPython* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 template<class CallbackInfo, class Wrappable> 157 template<class CallbackInfo, class Wrappable>
158 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObjectPython > impl, Wrappable* wrappable) 158 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObjectPython > impl, Wrappable* wrappable)
159 { 159 {
160 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 160 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
161 } 161 }
162 162
163 } 163 }
164 164
165 #endif // V8TestObjectPython_h 165 #endif // V8TestObjectPython_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/bindings/tests/results/V8TestObjectPython.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698