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

Side by Side Diff: Source/bindings/templates/interface.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
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h » ('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}}. DO NOT MODIFY! 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
6 6
7 #ifndef {{v8_class}}_h 7 #ifndef {{v8_class}}_h
8 #define {{v8_class}}_h 8 #define {{v8_class}}_h
9 9
10 {% filter conditional(conditional_string) %} 10 {% filter conditional(conditional_string) %}
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 v8SetReturnValueNull(callbackInfo); 247 v8SetReturnValueNull(callbackInfo);
248 return; 248 return;
249 } 249 }
250 if (DOMDataStore::setReturnValueFromWrapperFast<{{v8_class}}>(callbackInfo.G etReturnValue(), impl, callbackInfo.Holder(), wrappable)) 250 if (DOMDataStore::setReturnValueFromWrapperFast<{{v8_class}}>(callbackInfo.G etReturnValue(), impl, callbackInfo.Holder(), wrappable))
251 return; 251 return;
252 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackI nfo.GetIsolate()); 252 v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackI nfo.GetIsolate());
253 v8SetReturnValue(callbackInfo, wrapper); 253 v8SetReturnValue(callbackInfo, wrapper);
254 } 254 }
255 {% endif %}{# has_custom_to_v8 #} 255 {% endif %}{# has_custom_to_v8 #}
256 256
257 {% if gc_type != 'GarbageCollectedObject' %}
haraken 2014/04/25 09:47:32 It took me a long time to notice that I need to re
Mads Ager (chromium) 2014/04/28 11:02:31 I think this is OK for now. How much would (b) com
258 inline v8::Handle<v8::Value> toV8({{pass_cpp_type}} impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 257 inline v8::Handle<v8::Value> toV8({{pass_cpp_type}} impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
259 { 258 {
260 return toV8(impl.get(), creationContext, isolate); 259 return toV8(impl.get(), creationContext, isolate);
261 } 260 }
262 261
263 template<class CallbackInfo> 262 template<class CallbackInfo>
264 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{pass_cpp_type}} impl) 263 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{pass_cpp_type}} impl)
265 { 264 {
266 v8SetReturnValue(callbackInfo, impl.get()); 265 v8SetReturnValue(callbackInfo, impl.get());
267 } 266 }
268 267
269 template<class CallbackInfo> 268 template<class CallbackInfo>
270 inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, {{pas s_cpp_type}} impl) 269 inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, {{pas s_cpp_type}} impl)
271 { 270 {
272 v8SetReturnValueForMainWorld(callbackInfo, impl.get()); 271 v8SetReturnValueForMainWorld(callbackInfo, impl.get());
273 } 272 }
274 273
275 template<class CallbackInfo, class Wrappable> 274 template<class CallbackInfo, class Wrappable>
276 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{pass_cpp_ty pe}} impl, Wrappable* wrappable) 275 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{pass_cpp_ty pe}} impl, Wrappable* wrappable)
277 { 276 {
278 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 277 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
279 } 278 }
280 {% endif %}{# if gc_type != 'GarbageCollectedObject' #}
281 279
282 {% if has_event_constructor %} 280 {% if has_event_constructor %}
283 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); 281 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = "");
284 282
285 {% endif %} 283 {% endif %}
286 } 284 }
287 {% endfilter %} 285 {% endfilter %}
288 #endif // {{v8_class}}_h 286 #endif // {{v8_class}}_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698