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

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

Issue 26547005: IDL compiler: [PerContextEnabled] for getters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
53 static inline void* toInternalPointer(TestObjectPython* impl) 53 static inline void* toInternalPointer(TestObjectPython* impl)
54 { 54 {
55 return impl; 55 return impl;
56 } 56 }
57 57
58 static inline TestObjectPython* fromInternalPointer(void* object) 58 static inline TestObjectPython* fromInternalPointer(void* object)
59 { 59 {
60 return static_cast<TestObjectPython*>(object); 60 return static_cast<TestObjectPython*>(object);
61 } 61 }
62 static void installPerContextProperties(v8::Handle<v8::Object>, TestObjectPy thon*, v8::Isolate*) { } 62 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestO bjectPython*, v8::Isolate*);
63 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8: :Isolate*) { } 63 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec t>, v8::Isolate*) { }
64 64
65 private: 65 private:
66 friend v8::Handle<v8::Object> wrap(TestObjectPython*, v8::Handle<v8::Object> creationContext, v8::Isolate*); 66 friend v8::Handle<v8::Object> wrap(TestObjectPython*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
67 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObjectPython>, v8 ::Handle<v8::Object> creationContext, v8::Isolate*); 67 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObjectPython>, v8 ::Handle<v8::Object> creationContext, v8::Isolate*);
68 }; 68 };
69 69
70 template<> 70 template<>
71 class WrapperTypeTraits<TestObjectPython > { 71 class WrapperTypeTraits<TestObjectPython > {
72 public: 72 public:
73 static WrapperTypeInfo* info() { return &V8TestObjectPython::info; } 73 static WrapperTypeInfo* info() { return &V8TestObjectPython::info; }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 template<class CallbackInfo, class Wrappable> 150 template<class CallbackInfo, class Wrappable>
151 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObjectPython > impl, Wrappable* wrappable) 151 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObjectPython > impl, Wrappable* wrappable)
152 { 152 {
153 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 153 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
154 } 154 }
155 155
156 } 156 }
157 157
158 #endif // V8TestObjectPython_h 158 #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