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 "V8TestInterfaceConstructor3.h" | 8 #include "V8TestInterfaceConstructor3.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 95 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
96 } | 96 } |
97 | 97 |
98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
99 { | 99 { |
100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
101 } | 101 } |
102 | 102 |
103 TestInterfaceConstructor3* V8TestInterfaceConstructor3::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) | 103 TestInterfaceConstructor3* V8TestInterfaceConstructor3::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) |
104 { | 104 { |
105 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor3>() : 0; | 105 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val
ue)) : 0; |
106 } | 106 } |
107 | 107 |
108 | 108 |
109 void V8TestInterfaceConstructor3::refObject(ScriptWrappableBase* internalPointer
) | 109 void V8TestInterfaceConstructor3::refObject(ScriptWrappableBase* internalPointer
) |
110 { | 110 { |
111 internalPointer->toImpl<TestInterfaceConstructor3>()->ref(); | 111 internalPointer->toImpl<TestInterfaceConstructor3>()->ref(); |
112 } | 112 } |
113 | 113 |
114 void V8TestInterfaceConstructor3::derefObject(ScriptWrappableBase* internalPoint
er) | 114 void V8TestInterfaceConstructor3::derefObject(ScriptWrappableBase* internalPoint
er) |
115 { | 115 { |
116 internalPointer->toImpl<TestInterfaceConstructor3>()->deref(); | 116 internalPointer->toImpl<TestInterfaceConstructor3>()->deref(); |
117 } | 117 } |
118 | 118 |
119 WrapperPersistentNode* V8TestInterfaceConstructor3::createPersistentHandle(Scrip
tWrappableBase* internalPointer) | 119 WrapperPersistentNode* V8TestInterfaceConstructor3::createPersistentHandle(Scrip
tWrappableBase* internalPointer) |
120 { | 120 { |
121 ASSERT_NOT_REACHED(); | 121 ASSERT_NOT_REACHED(); |
122 return 0; | 122 return 0; |
123 } | 123 } |
124 | 124 |
125 template<> | 125 template<> |
126 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 126 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
127 { | 127 { |
128 return toV8(impl, creationContext, isolate); | 128 return toV8(impl, creationContext, isolate); |
129 } | 129 } |
130 | 130 |
131 } // namespace blink | 131 } // namespace blink |
OLD | NEW |