| OLD | NEW |
| 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 "V8TestInterface3.h" | 7 #include "V8TestInterface3.h" |
| 8 | 8 |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/ScriptState.h" | 10 #include "bindings/core/v8/ScriptState.h" |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 V8TestInterface3::indexedPropertySetterCustom(index, v8Value, info); | 200 V8TestInterface3::indexedPropertySetterCustom(index, v8Value, info); |
| 201 } | 201 } |
| 202 | 202 |
| 203 static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal
lbackInfo<v8::Boolean>& info) | 203 static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal
lbackInfo<v8::Boolean>& info) |
| 204 { | 204 { |
| 205 V8TestInterface3::indexedPropertyDeleterCustom(index, info); | 205 V8TestInterface3::indexedPropertyDeleterCustom(index, info); |
| 206 } | 206 } |
| 207 | 207 |
| 208 static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::Prop
ertyCallbackInfo<v8::Value>& info) | 208 static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::Prop
ertyCallbackInfo<v8::Value>& info) |
| 209 { | 209 { |
| 210 if (!name->IsString()) |
| 211 return; |
| 210 V8TestInterface3::namedPropertyGetterCustom(name, info); | 212 V8TestInterface3::namedPropertyGetterCustom(name, info); |
| 211 } | 213 } |
| 212 | 214 |
| 213 static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::
Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) | 215 static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::
Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 214 { | 216 { |
| 217 if (!name->IsString()) |
| 218 return; |
| 215 V8TestInterface3::namedPropertySetterCustom(name, v8Value, info); | 219 V8TestInterface3::namedPropertySetterCustom(name, v8Value, info); |
| 216 } | 220 } |
| 217 | 221 |
| 218 static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::Prope
rtyCallbackInfo<v8::Integer>& info) | 222 static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::Prope
rtyCallbackInfo<v8::Integer>& info) |
| 219 { | 223 { |
| 224 if (!name->IsString()) |
| 225 return; |
| 220 V8TestInterface3::namedPropertyQueryCustom(name, info); | 226 V8TestInterface3::namedPropertyQueryCustom(name, info); |
| 221 } | 227 } |
| 222 | 228 |
| 223 static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::Pro
pertyCallbackInfo<v8::Boolean>& info) | 229 static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::Pro
pertyCallbackInfo<v8::Boolean>& info) |
| 224 { | 230 { |
| 231 if (!name->IsString()) |
| 232 return; |
| 225 V8TestInterface3::namedPropertyDeleterCustom(name, info); | 233 V8TestInterface3::namedPropertyDeleterCustom(name, info); |
| 226 } | 234 } |
| 227 | 235 |
| 228 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) | 236 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) |
| 229 { | 237 { |
| 230 V8TestInterface3::namedPropertyEnumeratorCustom(info); | 238 V8TestInterface3::namedPropertyEnumeratorCustom(info); |
| 231 } | 239 } |
| 232 | 240 |
| 233 } // namespace TestInterface3V8Internal | 241 } // namespace TestInterface3V8Internal |
| 234 | 242 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 { | 308 { |
| 301 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 309 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
| 302 } | 310 } |
| 303 | 311 |
| 304 TestInterface3* V8TestInterface3::toImplWithTypeCheck(v8::Isolate* isolate, v8::
Local<v8::Value> value) | 312 TestInterface3* V8TestInterface3::toImplWithTypeCheck(v8::Isolate* isolate, v8::
Local<v8::Value> value) |
| 305 { | 313 { |
| 306 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; | 314 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; |
| 307 } | 315 } |
| 308 | 316 |
| 309 } // namespace blink | 317 } // namespace blink |
| OLD | NEW |