| 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 "V8TestInterfaceNotScriptWrappable.h" | 8 #include "V8TestInterfaceNotScriptWrappable.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &wrapperTypeInfo, impl->toScriptWrappableBase(), isolate); | 139 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &wrapperTypeInfo, impl->toScriptWrappableBase(), isolate); |
| 140 if (UNLIKELY(wrapper.IsEmpty())) | 140 if (UNLIKELY(wrapper.IsEmpty())) |
| 141 return wrapper; | 141 return wrapper; |
| 142 | 142 |
| 143 installConditionallyEnabledProperties(wrapper, isolate); | 143 installConditionallyEnabledProperties(wrapper, isolate); |
| 144 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNotScriptWrappable>(
impl, &wrapperTypeInfo, wrapper, isolate); | 144 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNotScriptWrappable>(
impl, &wrapperTypeInfo, wrapper, isolate); |
| 145 return wrapper; | 145 return wrapper; |
| 146 } | 146 } |
| 147 | 147 |
| 148 | |
| 149 void V8TestInterfaceNotScriptWrappable::refObject(ScriptWrappableBase* internalP
ointer) | 148 void V8TestInterfaceNotScriptWrappable::refObject(ScriptWrappableBase* internalP
ointer) |
| 150 { | 149 { |
| 151 internalPointer->toImpl<TestInterfaceNotScriptWrappable>()->ref(); | 150 internalPointer->toImpl<TestInterfaceNotScriptWrappable>()->ref(); |
| 152 } | 151 } |
| 153 | 152 |
| 154 void V8TestInterfaceNotScriptWrappable::derefObject(ScriptWrappableBase* interna
lPointer) | 153 void V8TestInterfaceNotScriptWrappable::derefObject(ScriptWrappableBase* interna
lPointer) |
| 155 { | 154 { |
| 156 internalPointer->toImpl<TestInterfaceNotScriptWrappable>()->deref(); | 155 internalPointer->toImpl<TestInterfaceNotScriptWrappable>()->deref(); |
| 157 } | 156 } |
| 158 | 157 |
| 159 template<> | 158 template<> |
| 160 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNotScriptWrappable* impl, v8::Ha
ndle<v8::Object> creationContext, v8::Isolate* isolate) | 159 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNotScriptWrappable* impl, v8::Ha
ndle<v8::Object> creationContext, v8::Isolate* isolate) |
| 161 { | 160 { |
| 162 return toV8(impl, creationContext, isolate); | 161 return toV8(impl, creationContext, isolate); |
| 163 } | 162 } |
| 164 | 163 |
| 165 } // namespace blink | 164 } // namespace blink |
| OLD | NEW |