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

Side by Side Diff: Source/bindings/tests/results/V8TestObject.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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1 ; 51 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1 ;
52 static inline void* toInternalPointer(TestObj* impl) 52 static inline void* toInternalPointer(TestObj* impl)
53 { 53 {
54 return V8EventTarget::toInternalPointer(impl); 54 return V8EventTarget::toInternalPointer(impl);
55 } 55 }
56 56
57 static inline TestObj* fromInternalPointer(void* object) 57 static inline TestObj* fromInternalPointer(void* object)
58 { 58 {
59 return static_cast<TestObj*>(V8EventTarget::fromInternalPointer(object)) ; 59 return static_cast<TestObj*>(V8EventTarget::fromInternalPointer(object)) ;
60 } 60 }
61 static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8 ::Isolate*); 61 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestO bj*, v8::Isolate*);
62 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8: :Isolate*); 62 static void installPerContextEnabledPrototypeProperties(v8::Handle<v8::Objec t>, v8::Isolate*);
63 63
64 private: 64 private:
65 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation Context, v8::Isolate*); 65 friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creation Context, v8::Isolate*);
66 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle< v8::Object> creationContext, v8::Isolate*); 66 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestObj>, v8::Handle< v8::Object> creationContext, v8::Isolate*);
67 }; 67 };
68 68
69 template<> 69 template<>
70 class WrapperTypeTraits<TestObj > { 70 class WrapperTypeTraits<TestObj > {
71 public: 71 public:
72 static WrapperTypeInfo* info() { return &V8TestObject::info; } 72 static WrapperTypeInfo* info() { return &V8TestObject::info; }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 template<class CallbackInfo, class Wrappable> 149 template<class CallbackInfo, class Wrappable>
150 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObj > impl, Wrappable* wrappable) 150 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObj > impl, Wrappable* wrappable)
151 { 151 {
152 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 152 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
153 } 153 }
154 154
155 } 155 }
156 156
157 #endif // V8TestObject_h 157 #endif // V8TestObject_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestNode.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698