Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698