| 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 "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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 }; | 317 }; |
| 318 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig
nature, v8::None, entriesMethodConfiguration); | 318 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig
nature, v8::None, entriesMethodConfiguration); |
| 319 } | 319 } |
| 320 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 320 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 321 const V8DOMConfiguration::MethodConfiguration forEachMethodConfiguration
= { | 321 const V8DOMConfiguration::MethodConfiguration forEachMethodConfiguration
= { |
| 322 "forEach", TestInterface3V8Internal::forEachMethodCallback, 0, 1, V8
DOMConfiguration::ExposedToAllScripts, | 322 "forEach", TestInterface3V8Internal::forEachMethodCallback, 0, 1, V8
DOMConfiguration::ExposedToAllScripts, |
| 323 }; | 323 }; |
| 324 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig
nature, v8::None, forEachMethodConfiguration); | 324 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig
nature, v8::None, forEachMethodConfiguration); |
| 325 } | 325 } |
| 326 | 326 |
| 327 instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(is
olate, "TestInterface3")); |
| 328 |
| 329 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i
solate, "TestInterface3Prototype")); |
| 330 |
| 327 // Custom toString template | 331 // Custom toString template |
| 328 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 332 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 329 } | 333 } |
| 330 | 334 |
| 331 v8::Local<v8::FunctionTemplate> V8TestInterface3::domTemplate(v8::Isolate* isola
te) | 335 v8::Local<v8::FunctionTemplate> V8TestInterface3::domTemplate(v8::Isolate* isola
te) |
| 332 { | 336 { |
| 333 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterface3Template); | 337 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterface3Template); |
| 334 } | 338 } |
| 335 | 339 |
| 336 bool V8TestInterface3::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* is
olate) | 340 bool V8TestInterface3::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* is
olate) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 352 { | 356 { |
| 353 scriptWrappable->toImpl<TestInterface3>()->ref(); | 357 scriptWrappable->toImpl<TestInterface3>()->ref(); |
| 354 } | 358 } |
| 355 | 359 |
| 356 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) | 360 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) |
| 357 { | 361 { |
| 358 scriptWrappable->toImpl<TestInterface3>()->deref(); | 362 scriptWrappable->toImpl<TestInterface3>()->deref(); |
| 359 } | 363 } |
| 360 | 364 |
| 361 } // namespace blink | 365 } // namespace blink |
| OLD | NEW |