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

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

Issue 15877002: move constructors to new style callbacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 7 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 22 matching lines...) Expand all
33 public: 33 public:
34 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp e); 34 static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*, WrapperWorldTyp e);
35 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*); 35 static bool HasInstanceInAnyWorld(v8::Handle<v8::Value>, v8::Isolate*);
36 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe rWorldType); 36 static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*, Wrappe rWorldType);
37 static TestEventConstructor* toNative(v8::Handle<v8::Object> object) 37 static TestEventConstructor* toNative(v8::Handle<v8::Object> object)
38 { 38 {
39 return reinterpret_cast<TestEventConstructor*>(object->GetAlignedPointer FromInternalField(v8DOMWrapperObjectIndex)); 39 return reinterpret_cast<TestEventConstructor*>(object->GetAlignedPointer FromInternalField(v8DOMWrapperObjectIndex));
40 } 40 }
41 static void derefObject(void*); 41 static void derefObject(void*);
42 static WrapperTypeInfo info; 42 static WrapperTypeInfo info;
43 static v8::Handle<v8::Value> constructorCallback(const v8::Arguments&); 43 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
44 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 44 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
45 static void installPerContextProperties(v8::Handle<v8::Object>, TestEventCon structor*, v8::Isolate*) { } 45 static void installPerContextProperties(v8::Handle<v8::Object>, TestEventCon structor*, v8::Isolate*) { }
46 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8: :Isolate*) { } 46 static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8: :Isolate*) { }
47 private: 47 private:
48 friend v8::Handle<v8::Object> wrap(TestEventConstructor*, v8::Handle<v8::Obj ect> creationContext, v8::Isolate*); 48 friend v8::Handle<v8::Object> wrap(TestEventConstructor*, v8::Handle<v8::Obj ect> creationContext, v8::Isolate*);
49 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventConstructor> , v8::Handle<v8::Object> creationContext, v8::Isolate*); 49 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventConstructor> , v8::Handle<v8::Object> creationContext, v8::Isolate*);
50 }; 50 };
51 51
52 template<> 52 template<>
53 class WrapperTypeTraits<TestEventConstructor > { 53 class WrapperTypeTraits<TestEventConstructor > {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestEventConstructor > impl, v8::H andle<v8::Object> creationContext, v8::Isolate* isolate) 129 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestEventConstructor > impl, v8::H andle<v8::Object> creationContext, v8::Isolate* isolate)
130 { 130 {
131 return toV8(impl.get(), creationContext, isolate); 131 return toV8(impl.get(), creationContext, isolate);
132 } 132 }
133 133
134 bool fillTestEventConstructorInit(TestEventConstructorInit&, const Dictionary&); 134 bool fillTestEventConstructorInit(TestEventConstructorInit&, const Dictionary&);
135 135
136 } 136 }
137 137
138 #endif // V8TestEventConstructor_h 138 #endif // V8TestEventConstructor_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8Float64Array.cpp ('k') | Source/bindings/tests/results/V8TestEventConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698