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

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

Issue 1185843010: bindings: Moves custom getters/setters to the prototype chain. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 5 years, 6 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 // 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static void derefObject(ScriptWrappable*); 55 static void derefObject(ScriptWrappable*);
56 template<typename VisitorDispatcher> 56 template<typename VisitorDispatcher>
57 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl e) 57 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl e)
58 { 58 {
59 } 59 }
60 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8:: Value>&); 60 static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8:: Value>&);
61 static void customCallEpilogueVoidMethodMethodEpilogueCustom(const v8::Funct ionCallbackInfo<v8::Value>&, TestObject*); 61 static void customCallEpilogueVoidMethodMethodEpilogueCustom(const v8::Funct ionCallbackInfo<v8::Value>&, TestObject*);
62 #if ENABLE(CONDITION) 62 #if ENABLE(CONDITION)
63 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct ionCallbackInfo<v8::Value>&); 63 static void conditionalConditionCustomVoidMethodMethodCustom(const v8::Funct ionCallbackInfo<v8::Value>&);
64 #endif // ENABLE(CONDITION) 64 #endif // ENABLE(CONDITION)
65 static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCal lbackInfo<v8::Value>&); 65 static void customObjectAttributeAttributeGetterCustom(const v8::FunctionCal lbackInfo<v8::Value>&);
66 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 66 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&);
67 static void customGetterLongAttributeAttributeGetterCustom(const v8::Propert yCallbackInfo<v8::Value>&); 67 static void customGetterLongAttributeAttributeGetterCustom(const v8::Functio nCallbackInfo<v8::Value>&);
68 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v 8::PropertyCallbackInfo<v8::Value>&); 68 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v 8::FunctionCallbackInfo<v8::Value>&);
69 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val ue>, const v8::PropertyCallbackInfo<void>&); 69 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val ue>, const v8::FunctionCallbackInfo<v8::Value>&);
70 #if ENABLE(CONDITION) 70 #if ENABLE(CONDITION)
71 static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallb ackInfo<v8::Value>&); 71 static void customLongAttributeAttributeGetterCustom(const v8::FunctionCallb ackInfo<v8::Value>&);
72 #endif // ENABLE(CONDITION) 72 #endif // ENABLE(CONDITION)
73 #if ENABLE(CONDITION) 73 #if ENABLE(CONDITION)
74 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, c onst v8::PropertyCallbackInfo<void>&); 74 static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, c onst v8::FunctionCallbackInfo<v8::Value>&);
75 #endif // ENABLE(CONDITION) 75 #endif // ENABLE(CONDITION)
76 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8:: PropertyCallbackInfo<v8::Value>&); 76 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8:: FunctionCallbackInfo<v8::Value>&);
77 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local< v8::Value>, const v8::PropertyCallbackInfo<void>&); 77 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local< v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&);
78 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons t v8::PropertyCallbackInfo<v8::Value>&); 78 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons t v8::FunctionCallbackInfo<v8::Value>&);
79 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8:: Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 79 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8:: Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&);
80 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 80 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
81 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*) { } 81 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*) { }
82 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>); 82 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>);
83 }; 83 };
84 84
85 template <> 85 template <>
86 struct V8TypeOf<TestObject> { 86 struct V8TypeOf<TestObject> {
87 typedef V8TestObject Type; 87 typedef V8TestObject Type;
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // V8TestObject_h 92 #endif // V8TestObject_h
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface.h ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698