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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceEventTarget.cpp

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Win GPU tests (DOMDataView). 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 "V8TestInterfaceEventTarget.h" 8 #include "V8TestInterfaceEventTarget.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool V8TestInterfaceEventTarget::hasInstance(v8::Handle<v8::Value> v8Value, v8:: Isolate* isolate) 97 bool V8TestInterfaceEventTarget::hasInstance(v8::Handle<v8::Value> v8Value, v8:: Isolate* isolate)
98 { 98 {
99 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 99 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
100 } 100 }
101 101
102 v8::Handle<v8::Object> V8TestInterfaceEventTarget::findInstanceInPrototypeChain( v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) 102 v8::Handle<v8::Object> V8TestInterfaceEventTarget::findInstanceInPrototypeChain( v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
103 { 103 {
104 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 104 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
105 } 105 }
106 106
107
107 TestInterfaceEventTarget* V8TestInterfaceEventTarget::toImplWithTypeCheck(v8::Is olate* isolate, v8::Handle<v8::Value> value) 108 TestInterfaceEventTarget* V8TestInterfaceEventTarget::toImplWithTypeCheck(v8::Is olate* isolate, v8::Handle<v8::Value> value)
108 { 109 {
109 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle <v8::Object>::Cast(value))->toImpl<TestInterfaceEventTarget>() : 0; 110 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val ue)) : 0;
110 } 111 }
111 112
112 EventTarget* V8TestInterfaceEventTarget::toEventTarget(v8::Handle<v8::Object> ob ject) 113 EventTarget* V8TestInterfaceEventTarget::toEventTarget(v8::Handle<v8::Object> ob ject)
113 { 114 {
114 return toImpl(object); 115 return toImpl(object);
115 } 116 }
116 117
117 118
118 void V8TestInterfaceEventTarget::refObject(ScriptWrappableBase* internalPointer) 119 void V8TestInterfaceEventTarget::refObject(ScriptWrappableBase* internalPointer)
119 { 120 {
(...skipping 19 matching lines...) Expand all
139 #endif 140 #endif
140 } 141 }
141 142
142 template<> 143 template<>
143 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventTarget* impl, v8::Handle<v8 ::Object> creationContext, v8::Isolate* isolate) 144 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventTarget* impl, v8::Handle<v8 ::Object> creationContext, v8::Isolate* isolate)
144 { 145 {
145 return toV8(impl, creationContext, isolate); 146 return toV8(impl, creationContext, isolate);
146 } 147 }
147 148
148 } // namespace blink 149 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698