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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceConstructor3.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
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 #include "V8TestInterfaceConstructor3.h" 8 #include "V8TestInterfaceConstructor3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain (v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) 98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain (v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
99 { 99 {
100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
101 } 101 }
102 102
103 TestInterfaceConstructor3* V8TestInterfaceConstructor3::toImplWithTypeCheck(v8:: Isolate* isolate, v8::Handle<v8::Value> value) 103 TestInterfaceConstructor3* V8TestInterfaceConstructor3::toImplWithTypeCheck(v8:: Isolate* isolate, v8::Handle<v8::Value> value)
104 { 104 {
105 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle <v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor3>() : 0; 105 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle <v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor3>() : 0;
106 } 106 }
107 107
108
109 void V8TestInterfaceConstructor3::refObject(ScriptWrappableBase* internalPointer ) 108 void V8TestInterfaceConstructor3::refObject(ScriptWrappableBase* internalPointer )
110 { 109 {
111 internalPointer->toImpl<TestInterfaceConstructor3>()->ref(); 110 internalPointer->toImpl<TestInterfaceConstructor3>()->ref();
112 } 111 }
113 112
114 void V8TestInterfaceConstructor3::derefObject(ScriptWrappableBase* internalPoint er) 113 void V8TestInterfaceConstructor3::derefObject(ScriptWrappableBase* internalPoint er)
115 { 114 {
116 internalPointer->toImpl<TestInterfaceConstructor3>()->deref(); 115 internalPointer->toImpl<TestInterfaceConstructor3>()->deref();
117 } 116 }
118 117
119 template<> 118 template<>
120 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 119 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
121 { 120 {
122 return toV8(impl, creationContext, isolate); 121 return toV8(impl, creationContext, isolate);
123 } 122 }
124 123
125 } // namespace blink 124 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698