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 "V8TestSpecialOperationsNotEnumerable.h" | 8 #include "V8TestSpecialOperationsNotEnumerable.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Handle<v8::Value> v8V
alue, v8::Isolate* isolate) | 98 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Handle<v8::Value> v8V
alue, v8::Isolate* isolate) |
99 { | 99 { |
100 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 100 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
101 } | 101 } |
102 | 102 |
103 v8::Handle<v8::Object> V8TestSpecialOperationsNotEnumerable::findInstanceInProto
typeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 103 v8::Handle<v8::Object> V8TestSpecialOperationsNotEnumerable::findInstanceInProto
typeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
104 { | 104 { |
105 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 105 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
106 } | 106 } |
107 | 107 |
| 108 |
108 TestSpecialOperationsNotEnumerable* V8TestSpecialOperationsNotEnumerable::toImpl
WithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) | 109 TestSpecialOperationsNotEnumerable* V8TestSpecialOperationsNotEnumerable::toImpl
WithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |
109 { | 110 { |
110 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestSpecialOperationsNotEnumerable>() : 0; | 111 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val
ue)) : 0; |
111 } | 112 } |
112 | 113 |
113 | 114 |
114 void V8TestSpecialOperationsNotEnumerable::refObject(ScriptWrappableBase* intern
alPointer) | 115 void V8TestSpecialOperationsNotEnumerable::refObject(ScriptWrappableBase* intern
alPointer) |
115 { | 116 { |
116 internalPointer->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); | 117 internalPointer->toImpl<TestSpecialOperationsNotEnumerable>()->ref(); |
117 } | 118 } |
118 | 119 |
119 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappableBase* inte
rnalPointer) | 120 void V8TestSpecialOperationsNotEnumerable::derefObject(ScriptWrappableBase* inte
rnalPointer) |
120 { | 121 { |
121 internalPointer->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); | 122 internalPointer->toImpl<TestSpecialOperationsNotEnumerable>()->deref(); |
122 } | 123 } |
123 | 124 |
124 WrapperPersistentNode* V8TestSpecialOperationsNotEnumerable::createPersistentHan
dle(ScriptWrappableBase* internalPointer) | 125 WrapperPersistentNode* V8TestSpecialOperationsNotEnumerable::createPersistentHan
dle(ScriptWrappableBase* internalPointer) |
125 { | 126 { |
126 ASSERT_NOT_REACHED(); | 127 ASSERT_NOT_REACHED(); |
127 return 0; | 128 return 0; |
128 } | 129 } |
129 | 130 |
130 template<> | 131 template<> |
131 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsNotEnumerable* impl, v8:
:Handle<v8::Object> creationContext, v8::Isolate* isolate) | 132 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsNotEnumerable* impl, v8:
:Handle<v8::Object> creationContext, v8::Isolate* isolate) |
132 { | 133 { |
133 return toV8(impl, creationContext, isolate); | 134 return toV8(impl, creationContext, isolate); |
134 } | 135 } |
135 | 136 |
136 } // namespace blink | 137 } // namespace blink |
OLD | NEW |