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 "V8TestIntegerIndexedGlobal.h" | 7 #include "V8TestIntegerIndexedGlobal.h" |
8 | 8 |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
10 #include "bindings/core/v8/V8DOMConfiguration.h" | 10 #include "bindings/core/v8/V8DOMConfiguration.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 V8TestIntegerIndexedGlobal::indexedPropertySetterCustom(index, v8Value, info
); | 97 V8TestIntegerIndexedGlobal::indexedPropertySetterCustom(index, v8Value, info
); |
98 } | 98 } |
99 | 99 |
100 static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal
lbackInfo<v8::Boolean>& info) | 100 static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal
lbackInfo<v8::Boolean>& info) |
101 { | 101 { |
102 V8TestIntegerIndexedGlobal::indexedPropertyDeleterCustom(index, info); | 102 V8TestIntegerIndexedGlobal::indexedPropertyDeleterCustom(index, info); |
103 } | 103 } |
104 | 104 |
105 static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::Prop
ertyCallbackInfo<v8::Value>& info) | 105 static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::Prop
ertyCallbackInfo<v8::Value>& info) |
106 { | 106 { |
| 107 if (!name->IsString()) |
| 108 return; |
107 V8TestIntegerIndexedGlobal::namedPropertyGetterCustom(name, info); | 109 V8TestIntegerIndexedGlobal::namedPropertyGetterCustom(name, info); |
108 } | 110 } |
109 | 111 |
110 static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::
Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) | 112 static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::
Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) |
111 { | 113 { |
| 114 if (!name->IsString()) |
| 115 return; |
112 V8TestIntegerIndexedGlobal::namedPropertySetterCustom(name, v8Value, info); | 116 V8TestIntegerIndexedGlobal::namedPropertySetterCustom(name, v8Value, info); |
113 } | 117 } |
114 | 118 |
115 static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::Prope
rtyCallbackInfo<v8::Integer>& info) | 119 static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::Prope
rtyCallbackInfo<v8::Integer>& info) |
116 { | 120 { |
| 121 if (!name->IsString()) |
| 122 return; |
117 V8TestIntegerIndexedGlobal::namedPropertyQueryCustom(name, info); | 123 V8TestIntegerIndexedGlobal::namedPropertyQueryCustom(name, info); |
118 } | 124 } |
119 | 125 |
120 static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::Pro
pertyCallbackInfo<v8::Boolean>& info) | 126 static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::Pro
pertyCallbackInfo<v8::Boolean>& info) |
121 { | 127 { |
| 128 if (!name->IsString()) |
| 129 return; |
122 V8TestIntegerIndexedGlobal::namedPropertyDeleterCustom(name, info); | 130 V8TestIntegerIndexedGlobal::namedPropertyDeleterCustom(name, info); |
123 } | 131 } |
124 | 132 |
125 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) | 133 static void namedPropertyEnumeratorCallback(const v8::PropertyCallbackInfo<v8::A
rray>& info) |
126 { | 134 { |
127 V8TestIntegerIndexedGlobal::namedPropertyEnumeratorCustom(info); | 135 V8TestIntegerIndexedGlobal::namedPropertyEnumeratorCustom(info); |
128 } | 136 } |
129 | 137 |
130 } // namespace TestIntegerIndexedGlobalV8Internal | 138 } // namespace TestIntegerIndexedGlobalV8Internal |
131 | 139 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 { | 195 { |
188 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 196 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
189 } | 197 } |
190 | 198 |
191 TestIntegerIndexedGlobal* V8TestIntegerIndexedGlobal::toImplWithTypeCheck(v8::Is
olate* isolate, v8::Local<v8::Value> value) | 199 TestIntegerIndexedGlobal* V8TestIntegerIndexedGlobal::toImplWithTypeCheck(v8::Is
olate* isolate, v8::Local<v8::Value> value) |
192 { | 200 { |
193 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; | 201 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; |
194 } | 202 } |
195 | 203 |
196 } // namespace blink | 204 } // namespace blink |
OLD | NEW |