| 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 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2061 if (context && context->isDocument() && ContextFeatures::partialContextName3
Enabled(toDocument(context))) { | 2061 if (context && context->isDocument() && ContextFeatures::partialContextName3
Enabled(toDocument(context))) { |
| 2062 prototypeObject->Set(v8AtomicString(isolate, "voidMethodPartialOverload"
), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::voi
dMethodPartialOverloadMethodCallback, v8Undefined(), defaultSignature, 1)->GetFu
nction()); | 2062 prototypeObject->Set(v8AtomicString(isolate, "voidMethodPartialOverload"
), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::voi
dMethodPartialOverloadMethodCallback, v8Undefined(), defaultSignature, 1)->GetFu
nction()); |
| 2063 } | 2063 } |
| 2064 } | 2064 } |
| 2065 | 2065 |
| 2066 ActiveDOMObject* V8TestInterface::toActiveDOMObject(v8::Handle<v8::Object> wrapp
er) | 2066 ActiveDOMObject* V8TestInterface::toActiveDOMObject(v8::Handle<v8::Object> wrapp
er) |
| 2067 { | 2067 { |
| 2068 return toImpl(wrapper); | 2068 return toImpl(wrapper); |
| 2069 } | 2069 } |
| 2070 | 2070 |
| 2071 | |
| 2072 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) | 2071 void V8TestInterface::refObject(ScriptWrappableBase* internalPointer) |
| 2073 { | 2072 { |
| 2074 internalPointer->toImpl<TestInterfaceImplementation>()->ref(); | 2073 internalPointer->toImpl<TestInterfaceImplementation>()->ref(); |
| 2075 } | 2074 } |
| 2076 | 2075 |
| 2077 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) | 2076 void V8TestInterface::derefObject(ScriptWrappableBase* internalPointer) |
| 2078 { | 2077 { |
| 2079 internalPointer->toImpl<TestInterfaceImplementation>()->deref(); | 2078 internalPointer->toImpl<TestInterfaceImplementation>()->deref(); |
| 2080 } | 2079 } |
| 2081 | 2080 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2157 | 2156 |
| 2158 ScriptState::Scope scope(scriptState); | 2157 ScriptState::Scope scope(scriptState); |
| 2159 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob
al(), scriptState->isolate()); | 2158 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob
al(), scriptState->isolate()); |
| 2160 | 2159 |
| 2161 ExceptionState exceptionState(ExceptionState::SetterContext, "stringAttribut
e", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState
->isolate()); | 2160 ExceptionState exceptionState(ExceptionState::SetterContext, "stringAttribut
e", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState
->isolate()); |
| 2162 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestInterfaceImplementation", "stringAttribute", holder, v8String(s
criptState->isolate(), cppValue)); | 2161 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn
UserScript, "TestInterfaceImplementation", "stringAttribute", holder, v8String(s
criptState->isolate(), cppValue)); |
| 2163 } | 2162 } |
| 2164 | 2163 |
| 2165 } // namespace blink | 2164 } // namespace blink |
| 2166 #endif // ENABLE(CONDITION) | 2165 #endif // ENABLE(CONDITION) |
| OLD | NEW |