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