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

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

Issue 1029093003: [WIP] IDL: Add limited serializer support and use for RTCIceCandidate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use V8ObjectBuilder in modules/crypto Created 5 years, 9 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
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 "V8TestInterface2.h" 8 #include "V8TestInterface2.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 static void hasMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) 363 static void hasMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
364 { 364 {
365 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 365 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
366 TestInterface2V8Internal::hasMethod(info); 366 TestInterface2V8Internal::hasMethod(info);
367 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 367 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
368 } 368 }
369 369
370 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 370 static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
371 { 371 {
372 TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); 372 TestInterface2* impl = V8TestInterface2::toImpl(info.Holder());
373 v8SetReturnValueString(info, impl->toString(), info.GetIsolate()); 373 v8SetReturnValueString(info, impl->stringifierMethod(), info.GetIsolate());
374 } 374 }
375 375
376 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo) 376 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo)
377 { 377 {
378 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 378 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
379 TestInterface2V8Internal::toStringMethod(info); 379 TestInterface2V8Internal::toStringMethod(info);
380 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 380 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
381 } 381 }
382 382
383 static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 383 static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 { 707 {
708 scriptWrappable->toImpl<TestInterface2>()->ref(); 708 scriptWrappable->toImpl<TestInterface2>()->ref();
709 } 709 }
710 710
711 void V8TestInterface2::derefObject(ScriptWrappable* scriptWrappable) 711 void V8TestInterface2::derefObject(ScriptWrappable* scriptWrappable)
712 { 712 {
713 scriptWrappable->toImpl<TestInterface2>()->deref(); 713 scriptWrappable->toImpl<TestInterface2>()->deref();
714 } 714 }
715 715
716 } // namespace blink 716 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698