| 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 "V8TestInterfaceEventInitConstructor.h" | 8 #include "V8TestInterfaceEventInitConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 0, 0, | 104 0, 0, |
| 105 V8TestInterfaceEventInitConstructorAccessors, WTF_ARRAY_LENGTH(V8TestInt
erfaceEventInitConstructorAccessors), | 105 V8TestInterfaceEventInitConstructorAccessors, WTF_ARRAY_LENGTH(V8TestInt
erfaceEventInitConstructorAccessors), |
| 106 0, 0); | 106 0, 0); |
| 107 functionTemplate->SetCallHandler(V8TestInterfaceEventInitConstructor::constr
uctorCallback); | 107 functionTemplate->SetCallHandler(V8TestInterfaceEventInitConstructor::constr
uctorCallback); |
| 108 functionTemplate->SetLength(2); | 108 functionTemplate->SetLength(2); |
| 109 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 109 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 110 ALLOW_UNUSED_LOCAL(instanceTemplate); | 110 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 111 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 111 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 112 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 112 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 113 | 113 |
| 114 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i
solate, "TestInterfaceEventInitConstructor")); |
| 115 |
| 114 // Custom toString template | 116 // Custom toString template |
| 115 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 117 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 116 } | 118 } |
| 117 | 119 |
| 118 v8::Local<v8::FunctionTemplate> V8TestInterfaceEventInitConstructor::domTemplate
(v8::Isolate* isolate) | 120 v8::Local<v8::FunctionTemplate> V8TestInterfaceEventInitConstructor::domTemplate
(v8::Isolate* isolate) |
| 119 { | 121 { |
| 120 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceEventInitConstructorTemplate); | 122 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceEventInitConstructorTemplate); |
| 121 } | 123 } |
| 122 | 124 |
| 123 bool V8TestInterfaceEventInitConstructor::hasInstance(v8::Local<v8::Value> v8Val
ue, v8::Isolate* isolate) | 125 bool V8TestInterfaceEventInitConstructor::hasInstance(v8::Local<v8::Value> v8Val
ue, v8::Isolate* isolate) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 143 } | 145 } |
| 144 | 146 |
| 145 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) | 147 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra
ppable) |
| 146 { | 148 { |
| 147 #if !ENABLE(OILPAN) | 149 #if !ENABLE(OILPAN) |
| 148 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); | 150 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); |
| 149 #endif | 151 #endif |
| 150 } | 152 } |
| 151 | 153 |
| 152 } // namespace blink | 154 } // namespace blink |
| OLD | NEW |