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

Side by Side Diff: Source/bindings/tests/results/V8TestObject.cpp

Issue 325143002: Oilpan: Prepare moving inspector script related classes to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "HTMLNames.h" 10 #include "HTMLNames.h"
(...skipping 7696 matching lines...) Expand 10 before | Expand all | Expand 10 after
7707 { 7707 {
7708 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7708 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7709 TestObjectV8Internal::callWithScriptStateExecutionContextVoidMethodMethod(in fo); 7709 TestObjectV8Internal::callWithScriptStateExecutionContextVoidMethodMethod(in fo);
7710 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7710 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7711 } 7711 }
7712 7712
7713 static void callWithScriptStateScriptArgumentsVoidMethodMethod(const v8::Functio nCallbackInfo<v8::Value>& info) 7713 static void callWithScriptStateScriptArgumentsVoidMethodMethod(const v8::Functio nCallbackInfo<v8::Value>& info)
7714 { 7714 {
7715 TestObject* impl = V8TestObject::toNative(info.Holder()); 7715 TestObject* impl = V8TestObject::toNative(info.Holder());
7716 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); 7716 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
7717 RefPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, i nfo, 0)); 7717 RefPtrWillBeRawPtr<ScriptArguments> scriptArguments(createScriptArguments(sc riptState, info, 0));
7718 impl->callWithScriptStateScriptArgumentsVoidMethod(scriptState, scriptArgume nts.release()); 7718 impl->callWithScriptStateScriptArgumentsVoidMethod(scriptState, scriptArgume nts.release());
7719 } 7719 }
7720 7720
7721 static void callWithScriptStateScriptArgumentsVoidMethodMethodCallback(const v8: :FunctionCallbackInfo<v8::Value>& info) 7721 static void callWithScriptStateScriptArgumentsVoidMethodMethodCallback(const v8: :FunctionCallbackInfo<v8::Value>& info)
7722 { 7722 {
7723 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7723 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7724 TestObjectV8Internal::callWithScriptStateScriptArgumentsVoidMethodMethod(inf o); 7724 TestObjectV8Internal::callWithScriptStateScriptArgumentsVoidMethodMethod(inf o);
7725 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7725 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7726 } 7726 }
7727 7727
7728 static void callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMethod (const v8::FunctionCallbackInfo<v8::Value>& info) 7728 static void callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMethod (const v8::FunctionCallbackInfo<v8::Value>& info)
7729 { 7729 {
7730 TestObject* impl = V8TestObject::toNative(info.Holder()); 7730 TestObject* impl = V8TestObject::toNative(info.Holder());
7731 bool optionalBooleanArg; 7731 bool optionalBooleanArg;
7732 { 7732 {
7733 v8::TryCatch block; 7733 v8::TryCatch block;
7734 V8RethrowTryCatchScope rethrow(block); 7734 V8RethrowTryCatchScope rethrow(block);
7735 if (UNLIKELY(info.Length() <= 0)) { 7735 if (UNLIKELY(info.Length() <= 0)) {
7736 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); 7736 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
7737 RefPtr<ScriptArguments> scriptArguments(createScriptArguments(script State, info, 1)); 7737 RefPtrWillBeRawPtr<ScriptArguments> scriptArguments(createScriptArgu ments(scriptState, info, 1));
7738 impl->callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg (scriptState, scriptArguments.release()); 7738 impl->callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg (scriptState, scriptArguments.release());
7739 return; 7739 return;
7740 } 7740 }
7741 TONATIVE_VOID_INTERNAL(optionalBooleanArg, info[0]->BooleanValue()); 7741 TONATIVE_VOID_INTERNAL(optionalBooleanArg, info[0]->BooleanValue());
7742 } 7742 }
7743 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); 7743 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
7744 RefPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, i nfo, 1)); 7744 RefPtrWillBeRawPtr<ScriptArguments> scriptArguments(createScriptArguments(sc riptState, info, 1));
7745 impl->callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg(scriptS tate, scriptArguments.release(), optionalBooleanArg); 7745 impl->callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg(scriptS tate, scriptArguments.release(), optionalBooleanArg);
7746 } 7746 }
7747 7747
7748 static void callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMethod Callback(const v8::FunctionCallbackInfo<v8::Value>& info) 7748 static void callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMethod Callback(const v8::FunctionCallbackInfo<v8::Value>& info)
7749 { 7749 {
7750 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); 7750 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
7751 TestObjectV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBo oleanArgMethod(info); 7751 TestObjectV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBo oleanArgMethod(info);
7752 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 7752 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
7753 } 7753 }
7754 7754
(...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after
9463 fromInternalPointer(object)->deref(); 9463 fromInternalPointer(object)->deref();
9464 } 9464 }
9465 9465
9466 template<> 9466 template<>
9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
9468 { 9468 {
9469 return toV8(impl, creationContext, isolate); 9469 return toV8(impl, creationContext, isolate);
9470 } 9470 }
9471 9471
9472 } // namespace WebCore 9472 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698