| 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 "V8TestInterfaceConstructor4.h" | 8 #include "V8TestInterfaceConstructor4.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 0, 0, | 108 0, 0, |
| 109 0, 0, | 109 0, 0, |
| 110 0, 0); | 110 0, 0); |
| 111 functionTemplate->SetCallHandler(V8TestInterfaceConstructor4::constructorCal
lback); | 111 functionTemplate->SetCallHandler(V8TestInterfaceConstructor4::constructorCal
lback); |
| 112 functionTemplate->SetLength(1); | 112 functionTemplate->SetLength(1); |
| 113 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 113 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 114 ALLOW_UNUSED_LOCAL(instanceTemplate); | 114 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 115 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 115 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 116 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 116 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 117 | 117 |
| 118 instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(is
olate, "TestInterfaceConstructor4")); |
| 119 |
| 120 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i
solate, "TestInterfaceConstructor4Prototype")); |
| 121 |
| 118 // Custom toString template | 122 // Custom toString template |
| 119 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 123 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 120 } | 124 } |
| 121 | 125 |
| 122 v8::Local<v8::FunctionTemplate> V8TestInterfaceConstructor4::domTemplate(v8::Iso
late* isolate) | 126 v8::Local<v8::FunctionTemplate> V8TestInterfaceConstructor4::domTemplate(v8::Iso
late* isolate) |
| 123 { | 127 { |
| 124 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceConstructor4Template); | 128 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceConstructor4Template); |
| 125 } | 129 } |
| 126 | 130 |
| 127 bool V8TestInterfaceConstructor4::hasInstance(v8::Local<v8::Value> v8Value, v8::
Isolate* isolate) | 131 bool V8TestInterfaceConstructor4::hasInstance(v8::Local<v8::Value> v8Value, v8::
Isolate* isolate) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 143 { | 147 { |
| 144 scriptWrappable->toImpl<TestInterfaceConstructor4>()->ref(); | 148 scriptWrappable->toImpl<TestInterfaceConstructor4>()->ref(); |
| 145 } | 149 } |
| 146 | 150 |
| 147 void V8TestInterfaceConstructor4::derefObject(ScriptWrappable* scriptWrappable) | 151 void V8TestInterfaceConstructor4::derefObject(ScriptWrappable* scriptWrappable) |
| 148 { | 152 { |
| 149 scriptWrappable->toImpl<TestInterfaceConstructor4>()->deref(); | 153 scriptWrappable->toImpl<TestInterfaceConstructor4>()->deref(); |
| 150 } | 154 } |
| 151 | 155 |
| 152 } // namespace blink | 156 } // namespace blink |
| OLD | NEW |