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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h

Issue 257503003: Oilpan: Enable Oilpan by default in modules/encryptedmedia (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 #ifndef V8TestInterfaceGarbageCollected_h 7 #ifndef V8TestInterfaceGarbageCollected_h
8 #define V8TestInterfaceGarbageCollected_h 8 #define V8TestInterfaceGarbageCollected_h
9 9
10 #include "V8EventTarget.h" 10 #include "V8EventTarget.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 if (UNLIKELY(!impl)) { 100 if (UNLIKELY(!impl)) {
101 v8SetReturnValueNull(callbackInfo); 101 v8SetReturnValueNull(callbackInfo);
102 return; 102 return;
103 } 103 }
104 if (DOMDataStore::setReturnValueFromWrapperFast<V8TestInterfaceGarbageCollec ted>(callbackInfo.GetReturnValue(), impl, callbackInfo.Holder(), wrappable)) 104 if (DOMDataStore::setReturnValueFromWrapperFast<V8TestInterfaceGarbageCollec ted>(callbackInfo.GetReturnValue(), impl, callbackInfo.Holder(), wrappable))
105 return; 105 return;
106 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackI nfo.GetIsolate()); 106 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackI nfo.GetIsolate());
107 v8SetReturnValue(callbackInfo, wrapper); 107 v8SetReturnValue(callbackInfo, wrapper);
108 } 108 }
109 109
110 inline v8::Handle<v8::Value> toV8(RawPtr<TestInterfaceGarbageCollected> impl, v8 ::Handle<v8::Object> creationContext, v8::Isolate* isolate)
111 {
112 return toV8(impl.get(), creationContext, isolate);
113 }
114
115 template<class CallbackInfo>
116 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, RawPtr<TestInterf aceGarbageCollected> impl)
117 {
118 v8SetReturnValue(callbackInfo, impl.get());
119 }
120
121 template<class CallbackInfo>
122 inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, RawPt r<TestInterfaceGarbageCollected> impl)
123 {
124 v8SetReturnValueForMainWorld(callbackInfo, impl.get());
125 }
126
127 template<class CallbackInfo, class Wrappable>
128 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, RawPtr<TestIn terfaceGarbageCollected> impl, Wrappable* wrappable)
129 {
130 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
131 }
110 132
111 } 133 }
112 #endif // V8TestInterfaceGarbageCollected_h 134 #endif // V8TestInterfaceGarbageCollected_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698