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 "V8TestInterface5.h" | 9 #include "V8TestInterface5.h" |
10 | 10 |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 if (context && (context->isDocument() || context->isServiceWorkerGlobalScope
())) { | 851 if (context && (context->isDocument() || context->isServiceWorkerGlobalScope
())) { |
852 prototypeObject->Set(v8AtomicString(isolate, "windowAndServiceWorkerExpo
sedMethod"), v8::FunctionTemplate::New(isolate, TestInterface5ImplementationV8In
ternal::windowAndServiceWorkerExposedMethodMethodCallback, v8Undefined(), defaul
tSignature, 0)->GetFunction()); | 852 prototypeObject->Set(v8AtomicString(isolate, "windowAndServiceWorkerExpo
sedMethod"), v8::FunctionTemplate::New(isolate, TestInterface5ImplementationV8In
ternal::windowAndServiceWorkerExposedMethodMethodCallback, v8Undefined(), defaul
tSignature, 0)->GetFunction()); |
853 } | 853 } |
854 } | 854 } |
855 | 855 |
856 ActiveDOMObject* V8TestInterface5::toActiveDOMObject(v8::Handle<v8::Object> wrap
per) | 856 ActiveDOMObject* V8TestInterface5::toActiveDOMObject(v8::Handle<v8::Object> wrap
per) |
857 { | 857 { |
858 return toImpl(wrapper); | 858 return toImpl(wrapper); |
859 } | 859 } |
860 | 860 |
861 | |
862 void V8TestInterface5::refObject(ScriptWrappableBase* internalPointer) | 861 void V8TestInterface5::refObject(ScriptWrappableBase* internalPointer) |
863 { | 862 { |
864 internalPointer->toImpl<TestInterface5Implementation>()->ref(); | 863 internalPointer->toImpl<TestInterface5Implementation>()->ref(); |
865 } | 864 } |
866 | 865 |
867 void V8TestInterface5::derefObject(ScriptWrappableBase* internalPointer) | 866 void V8TestInterface5::derefObject(ScriptWrappableBase* internalPointer) |
868 { | 867 { |
869 internalPointer->toImpl<TestInterface5Implementation>()->deref(); | 868 internalPointer->toImpl<TestInterface5Implementation>()->deref(); |
870 } | 869 } |
871 | 870 |
872 template<> | 871 template<> |
873 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl
e<v8::Object> creationContext, v8::Isolate* isolate) | 872 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl
e<v8::Object> creationContext, v8::Isolate* isolate) |
874 { | 873 { |
875 return toV8(impl, creationContext, isolate); | 874 return toV8(impl, creationContext, isolate); |
876 } | 875 } |
877 | 876 |
878 } // namespace blink | 877 } // namespace blink |
879 #endif // ENABLE(CONDITION) | 878 #endif // ENABLE(CONDITION) |
OLD | NEW |