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

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

Issue 525353002: [oilpan]: optimize the way we allocate persistent handles in wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: more review feedback Created 6 years, 3 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
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 V8TestObject_h 7 #ifndef V8TestObject_h
8 #define V8TestObject_h 8 #define V8TestObject_h
9 9
10 #include "bindings/core/v8/ScriptWrappable.h" 10 #include "bindings/core/v8/ScriptWrappable.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va lue>, v8::Isolate*); 44 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va lue>, v8::Isolate*);
45 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); 45 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
46 static TestObject* toNative(v8::Handle<v8::Object> object) 46 static TestObject* toNative(v8::Handle<v8::Object> object)
47 { 47 {
48 return fromInternalPointer(blink::toInternalPointer(object)); 48 return fromInternalPointer(blink::toInternalPointer(object));
49 } 49 }
50 static TestObject* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value> ); 50 static TestObject* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value> );
51 static const WrapperTypeInfo wrapperTypeInfo; 51 static const WrapperTypeInfo wrapperTypeInfo;
52 static void refObject(ScriptWrappableBase* internalPointer); 52 static void refObject(ScriptWrappableBase* internalPointer);
53 static void derefObject(ScriptWrappableBase* internalPointer); 53 static void derefObject(ScriptWrappableBase* internalPointer);
54 static PersistentNode* createPersistentHandle(ScriptWrappableBase* internalP ointer); 54 static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* in ternalPointer);
55 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8:: Value>&); 55 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8:: Value>&);
56 #if ENABLE(CONDITION) 56 #if ENABLE(CONDITION)
57 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct ionCallbackInfo<v8::Value>&); 57 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct ionCallbackInfo<v8::Value>&);
58 #endif // ENABLE(CONDITION) 58 #endif // ENABLE(CONDITION)
59 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal lbackInfo<v8::Value>&); 59 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal lbackInfo<v8::Value>&);
60 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 60 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
61 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert yCallbackInfo<v8::Value>&); 61 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert yCallbackInfo<v8::Value>&);
62 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v 8::PropertyCallbackInfo<v8::Value>&); 62 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v 8::PropertyCallbackInfo<v8::Value>&);
63 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val ue>, const v8::PropertyCallbackInfo<void>&); 63 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val ue>, const v8::PropertyCallbackInfo<void>&);
64 #if ENABLE(CONDITION) 64 #if ENABLE(CONDITION)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 161
162 template<class CallbackInfo, class Wrappable> 162 template<class CallbackInfo, class Wrappable>
163 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObject> impl, Wrappable* wrappable) 163 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stObject> impl, Wrappable* wrappable)
164 { 164 {
165 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 165 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
166 } 166 }
167 167
168 } // namespace blink 168 } // namespace blink
169 #endif // V8TestObject_h 169 #endif // V8TestObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698