| 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 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
| 9 #include "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
| 10 | 10 |
| (...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2078 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) | 2078 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) |
| 2079 { | 2079 { |
| 2080 internalPointer->toImpl<TestInterfaceImplementation>()->ref(); | 2080 internalPointer->toImpl<TestInterfaceImplementation>()->ref(); |
| 2081 } | 2081 } |
| 2082 | 2082 |
| 2083 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) | 2083 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) |
| 2084 { | 2084 { |
| 2085 internalPointer->toImpl<TestInterfaceImplementation>()->deref(); | 2085 internalPointer->toImpl<TestInterfaceImplementation>()->deref(); |
| 2086 } | 2086 } |
| 2087 | 2087 |
| 2088 PersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBase* int
ernalPointer) | 2088 WrapperPersistentNode* V8TestInterface::createPersistentHandle(ScriptWrappableBa
se* internalPointer) |
| 2089 { | 2089 { |
| 2090 ASSERT_NOT_REACHED(); | 2090 ASSERT_NOT_REACHED(); |
| 2091 return 0; | 2091 return 0; |
| 2092 } | 2092 } |
| 2093 | 2093 |
| 2094 template<> | 2094 template<> |
| 2095 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) | 2095 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) |
| 2096 { | 2096 { |
| 2097 return toV8(impl, creationContext, isolate); | 2097 return toV8(impl, creationContext, isolate); |
| 2098 } | 2098 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2181 if (block.HasCaught()) { | 2181 if (block.HasCaught()) { |
| 2182 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); | 2182 PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolat
e(), exceptionState, block); |
| 2183 block.ReThrow(); | 2183 block.ReThrow(); |
| 2184 return false; | 2184 return false; |
| 2185 } | 2185 } |
| 2186 return true; | 2186 return true; |
| 2187 } | 2187 } |
| 2188 | 2188 |
| 2189 } // namespace blink | 2189 } // namespace blink |
| 2190 #endif // ENABLE(CONDITION) | 2190 #endif // ENABLE(CONDITION) |
| OLD | NEW |