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

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

Issue 26792002: Reland: Reland: Implement new Blink IDL attribute [SetReference] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: setWrapperReference_reupl 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 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::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor ldType); 36 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWor ldType);
37 static TestInterface* toNative(v8::Handle<v8::Object> object) 37 static TestInterface* toNative(v8::Handle<v8::Object> object)
38 { 38 {
39 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex)); 39 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex));
40 } 40 }
41 static void derefObject(void*); 41 static void derefObject(void*);
42 static WrapperTypeInfo info; 42 static WrapperTypeInfo info;
43 static void resolveWrapperReachability(void*, const v8::Persistent<v8::Objec t>&, v8::Isolate*);
43 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); 44 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
44 #if ENABLE(Condition22) || ENABLE(Condition23) 45 #if ENABLE(Condition22) || ENABLE(Condition23)
45 static void implementsMethod3MethodCustom(const v8::FunctionCallbackInfo<v8: :Value>&); 46 static void implementsMethod3MethodCustom(const v8::FunctionCallbackInfo<v8: :Value>&);
46 #endif // ENABLE(Condition22) || ENABLE(Condition23) 47 #endif // ENABLE(Condition22) || ENABLE(Condition23)
47 #if ENABLE(Condition11) || ENABLE(Condition12) 48 #if ENABLE(Condition11) || ENABLE(Condition12)
48 static void supplementalMethod3MethodCustom(const v8::FunctionCallbackInfo<v 8::Value>&); 49 static void supplementalMethod3MethodCustom(const v8::FunctionCallbackInfo<v 8::Value>&);
49 #endif // ENABLE(Condition11) || ENABLE(Condition12) 50 #endif // ENABLE(Condition11) || ENABLE(Condition12)
50 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); 51 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
51 static void namedPropertySetterCustom(v8::Local<v8::String>, v8::Local<v8::V alue>, const v8::PropertyCallbackInfo<v8::Value>&); 52 static void namedPropertySetterCustom(v8::Local<v8::String>, v8::Local<v8::V alue>, const v8::PropertyCallbackInfo<v8::Value>&);
52 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 53 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterface > impl, Wrappable* wrappable) 152 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterface > impl, Wrappable* wrappable)
152 { 153 {
153 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 154 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
154 } 155 }
155 156
156 } 157 }
157 158
158 #endif // ENABLE(Condition1) || ENABLE(Condition2) 159 #endif // ENABLE(Condition1) || ENABLE(Condition2)
159 160
160 #endif // V8TestInterface_h 161 #endif // V8TestInterface_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698