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

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

Issue 820183002: [bindings] Make v8_class[Constructor]::domTemplate use Local<> instead of Handle<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@new-branch
Patch Set: Created 5 years, 12 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 25 matching lines...) Expand all
36 static bool nodeAttributeAttributeGetter(LocalFrame* frame, TestObject* holderImpl, RefPtrWillBeRawPtr<Node>* result); 36 static bool nodeAttributeAttributeGetter(LocalFrame* frame, TestObject* holderImpl, RefPtrWillBeRawPtr<Node>* result);
37 static bool nodeAttributeAttributeSetter(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Node> cppValue); 37 static bool nodeAttributeAttributeSetter(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Node> cppValue);
38 static bool attributeForPrivateScriptOnlyAttributeGetter(LocalFrame* fra me, TestObject* holderImpl, String* result); 38 static bool attributeForPrivateScriptOnlyAttributeGetter(LocalFrame* fra me, TestObject* holderImpl, String* result);
39 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* fra me, TestObject* holderImpl, String cppValue); 39 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* fra me, TestObject* holderImpl, String cppValue);
40 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestO bject* holderImpl, String* result); 40 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestO bject* holderImpl, String* result);
41 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestO bject* holderImpl, String cppValue); 41 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestO bject* holderImpl, String cppValue);
42 }; 42 };
43 43
44 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); 44 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
45 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va lue>, v8::Isolate*); 45 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va lue>, v8::Isolate*);
46 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); 46 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*);
47 static TestObject* toImpl(v8::Handle<v8::Object> object) 47 static TestObject* toImpl(v8::Handle<v8::Object> object)
48 { 48 {
49 return blink::toScriptWrappable(object)->toImpl<TestObject>(); 49 return blink::toScriptWrappable(object)->toImpl<TestObject>();
50 } 50 }
51 static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); 51 static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
52 static const WrapperTypeInfo wrapperTypeInfo; 52 static const WrapperTypeInfo wrapperTypeInfo;
53 static void refObject(ScriptWrappable*); 53 static void refObject(ScriptWrappable*);
54 static void derefObject(ScriptWrappable*); 54 static void derefObject(ScriptWrappable*);
55 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) 55 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable)
56 { 56 {
(...skipping 18 matching lines...) Expand all
75 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons t v8::PropertyCallbackInfo<v8::Value>&); 75 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons t v8::PropertyCallbackInfo<v8::Value>&);
76 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8:: Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); 76 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8:: Local<v8::Value>, const v8::PropertyCallbackInfo<void>&);
77 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 77 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
78 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*); 78 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*);
79 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is olate*); 79 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is olate*);
80 }; 80 };
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #endif // V8TestObject_h 84 #endif // V8TestObject_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestNode.cpp ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698