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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface3.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 "V8TestInterface3.h" 8 #include "V8TestInterface3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 bool V8TestInterface3::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* i solate) 131 bool V8TestInterface3::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* i solate)
132 { 132 {
133 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 133 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
134 } 134 }
135 135
136 v8::Handle<v8::Object> V8TestInterface3::findInstanceInPrototypeChain(v8::Handle <v8::Value> v8Value, v8::Isolate* isolate) 136 v8::Handle<v8::Object> V8TestInterface3::findInstanceInPrototypeChain(v8::Handle <v8::Value> v8Value, v8::Isolate* isolate)
137 { 137 {
138 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 138 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
139 } 139 }
140 140
141 TestInterface3* V8TestInterface3::toNativeWithTypeCheck(v8::Isolate* isolate, v8 ::Handle<v8::Value> value) 141 TestInterface3* V8TestInterface3::toImplWithTypeCheck(v8::Isolate* isolate, v8:: Handle<v8::Value> value)
142 { 142 {
143 return hasInstance(value, isolate) ? fromInternalPointer(blink::toInternalPo inter(v8::Handle<v8::Object>::Cast(value))) : 0; 143 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle <v8::Object>::Cast(value))->toImpl<TestInterface3>() : 0;
144 } 144 }
145 145
146 146
147 void V8TestInterface3::refObject(ScriptWrappableBase* internalPointer) 147 void V8TestInterface3::refObject(ScriptWrappableBase* internalPointer)
148 { 148 {
149 fromInternalPointer(internalPointer)->ref(); 149 internalPointer->toImpl<TestInterface3>()->ref();
150 } 150 }
151 151
152 void V8TestInterface3::derefObject(ScriptWrappableBase* internalPointer) 152 void V8TestInterface3::derefObject(ScriptWrappableBase* internalPointer)
153 { 153 {
154 fromInternalPointer(internalPointer)->deref(); 154 internalPointer->toImpl<TestInterface3>()->deref();
155 } 155 }
156 156
157 WrapperPersistentNode* V8TestInterface3::createPersistentHandle(ScriptWrappableB ase* internalPointer) 157 WrapperPersistentNode* V8TestInterface3::createPersistentHandle(ScriptWrappableB ase* internalPointer)
158 { 158 {
159 ASSERT_NOT_REACHED(); 159 ASSERT_NOT_REACHED();
160 return 0; 160 return 0;
161 } 161 }
162 162
163 template<> 163 template<>
164 v8::Handle<v8::Value> toV8NoInline(TestInterface3* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 164 v8::Handle<v8::Value> toV8NoInline(TestInterface3* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
165 { 165 {
166 return toV8(impl, creationContext, isolate); 166 return toV8(impl, creationContext, isolate);
167 } 167 }
168 168
169 } // namespace blink 169 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface3.h ('k') | Source/bindings/tests/results/V8TestInterfaceCheckSecurity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698