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 "V8TestIntegerIndexed.h" | 7 #include "V8TestIntegerIndexed.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 V8TestIntegerIndexed::indexedPropertySetterCustom(index, v8Value, info); | 97 V8TestIntegerIndexed::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 V8TestIntegerIndexed::indexedPropertyDeleterCustom(index, info); | 102 V8TestIntegerIndexed::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 V8TestIntegerIndexed::namedPropertyGetterCustom(name, info); | 109 V8TestIntegerIndexed::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 V8TestIntegerIndexed::namedPropertySetterCustom(name, v8Value, info); | 116 V8TestIntegerIndexed::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 V8TestIntegerIndexed::namedPropertyQueryCustom(name, info); | 123 V8TestIntegerIndexed::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 V8TestIntegerIndexed::namedPropertyDeleterCustom(name, info); | 130 V8TestIntegerIndexed::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 V8TestIntegerIndexed::namedPropertyEnumeratorCustom(info); | 135 V8TestIntegerIndexed::namedPropertyEnumeratorCustom(info); |
128 } | 136 } |
129 | 137 |
130 } // namespace TestIntegerIndexedV8Internal | 138 } // namespace TestIntegerIndexedV8Internal |
131 | 139 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 { | 184 { |
177 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 185 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
178 } | 186 } |
179 | 187 |
180 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola
te, v8::Local<v8::Value> value) | 188 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola
te, v8::Local<v8::Value> value) |
181 { | 189 { |
182 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; | 190 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; |
183 } | 191 } |
184 | 192 |
185 } // namespace blink | 193 } // namespace blink |
OLD | NEW |