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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp

Issue 537403002: bindings: Renames from/toInternalPointer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. 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 | 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 #include "config.h" 7 #include "config.h"
8 #include "V8TestInterfaceNamedConstructor2.h" 8 #include "V8TestInterfaceNamedConstructor2.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool V8TestInterfaceNamedConstructor2::hasInstance(v8::Handle<v8::Value> v8Value , v8::Isolate* isolate) 118 bool V8TestInterfaceNamedConstructor2::hasInstance(v8::Handle<v8::Value> v8Value , v8::Isolate* isolate)
119 { 119 {
120 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 120 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
121 } 121 }
122 122
123 v8::Handle<v8::Object> V8TestInterfaceNamedConstructor2::findInstanceInPrototype Chain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) 123 v8::Handle<v8::Object> V8TestInterfaceNamedConstructor2::findInstanceInPrototype Chain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
124 { 124 {
125 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 125 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
126 } 126 }
127 127
128 TestInterfaceNamedConstructor2* V8TestInterfaceNamedConstructor2::toNativeWithTy peCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) 128 TestInterfaceNamedConstructor2* V8TestInterfaceNamedConstructor2::toImplWithType Check(v8::Isolate* isolate, v8::Handle<v8::Value> value)
129 { 129 {
130 return hasInstance(value, isolate) ? fromInternalPointer(blink::toInternalPo inter(v8::Handle<v8::Object>::Cast(value))) : 0; 130 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle <v8::Object>::Cast(value))->toImpl<TestInterfaceNamedConstructor2>() : 0;
131 } 131 }
132 132
133 133
134 void V8TestInterfaceNamedConstructor2::refObject(ScriptWrappableBase* internalPo inter) 134 void V8TestInterfaceNamedConstructor2::refObject(ScriptWrappableBase* internalPo inter)
135 { 135 {
136 fromInternalPointer(internalPointer)->ref(); 136 internalPointer->toImpl<TestInterfaceNamedConstructor2>()->ref();
137 } 137 }
138 138
139 void V8TestInterfaceNamedConstructor2::derefObject(ScriptWrappableBase* internal Pointer) 139 void V8TestInterfaceNamedConstructor2::derefObject(ScriptWrappableBase* internal Pointer)
140 { 140 {
141 fromInternalPointer(internalPointer)->deref(); 141 internalPointer->toImpl<TestInterfaceNamedConstructor2>()->deref();
142 } 142 }
143 143
144 WrapperPersistentNode* V8TestInterfaceNamedConstructor2::createPersistentHandle( ScriptWrappableBase* internalPointer) 144 WrapperPersistentNode* V8TestInterfaceNamedConstructor2::createPersistentHandle( ScriptWrappableBase* internalPointer)
145 { 145 {
146 ASSERT_NOT_REACHED(); 146 ASSERT_NOT_REACHED();
147 return 0; 147 return 0;
148 } 148 }
149 149
150 template<> 150 template<>
151 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNamedConstructor2* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate) 151 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNamedConstructor2* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate)
152 { 152 {
153 return toV8(impl, creationContext, isolate); 153 return toV8(impl, creationContext, isolate);
154 } 154 }
155 155
156 } // namespace blink 156 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h ('k') | Source/bindings/tests/results/V8TestInterfaceNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698