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

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

Issue 1116843002: v8::Isolate* should be the first parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Mac compilation error for v8::Isolate* should be the first parameter patch Created 5 years, 7 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
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('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_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 "bindings/core/v8/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1087 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1088 TestObjectV8Internal::serializedScriptValueAttributeAttributeGetter(info); 1088 TestObjectV8Internal::serializedScriptValueAttributeAttributeGetter(info);
1089 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1089 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1090 } 1090 }
1091 1091
1092 static void serializedScriptValueAttributeAttributeSetter(v8::Local<v8::Value> v 8Value, const v8::FunctionCallbackInfo<v8::Value>& info) 1092 static void serializedScriptValueAttributeAttributeSetter(v8::Local<v8::Value> v 8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
1093 { 1093 {
1094 v8::Local<v8::Object> holder = info.Holder(); 1094 v8::Local<v8::Object> holder = info.Holder();
1095 ExceptionState exceptionState(ExceptionState::SetterContext, "serializedScri ptValueAttribute", "TestObject", holder, info.GetIsolate()); 1095 ExceptionState exceptionState(ExceptionState::SetterContext, "serializedScri ptValueAttribute", "TestObject", holder, info.GetIsolate());
1096 TestObject* impl = V8TestObject::toImpl(holder); 1096 TestObject* impl = V8TestObject::toImpl(holder);
1097 RefPtr<SerializedScriptValue> cppValue = SerializedScriptValueFactory::insta nce().create(v8Value, 0, 0, exceptionState, info.GetIsolate()); 1097 RefPtr<SerializedScriptValue> cppValue = SerializedScriptValueFactory::insta nce().create(info.GetIsolate(), v8Value, 0, 0, exceptionState);
1098 if (exceptionState.throwIfNeeded()) 1098 if (exceptionState.throwIfNeeded())
1099 return; 1099 return;
1100 impl->setSerializedScriptValueAttribute(WTF::getPtr(cppValue)); 1100 impl->setSerializedScriptValueAttribute(WTF::getPtr(cppValue));
1101 } 1101 }
1102 1102
1103 static void serializedScriptValueAttributeAttributeSetterCallback(const v8::Func tionCallbackInfo<v8::Value>& info) 1103 static void serializedScriptValueAttributeAttributeSetterCallback(const v8::Func tionCallbackInfo<v8::Value>& info)
1104 { 1104 {
1105 v8::Local<v8::Value> v8Value = info[0]; 1105 v8::Local<v8::Value> v8Value = info[0];
1106 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 1106 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1107 TestObjectV8Internal::serializedScriptValueAttributeAttributeSetter(v8Value, info); 1107 TestObjectV8Internal::serializedScriptValueAttributeAttributeSetter(v8Value, info);
(...skipping 6781 matching lines...) Expand 10 before | Expand all | Expand 10 after
7889 { 7889 {
7890 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodS erializedScriptValueArg", "TestObject", info.Holder(), info.GetIsolate()); 7890 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodS erializedScriptValueArg", "TestObject", info.Holder(), info.GetIsolate());
7891 if (UNLIKELY(info.Length() < 1)) { 7891 if (UNLIKELY(info.Length() < 1)) {
7892 setMinimumArityTypeError(exceptionState, 1, info.Length()); 7892 setMinimumArityTypeError(exceptionState, 1, info.Length());
7893 exceptionState.throwIfNeeded(); 7893 exceptionState.throwIfNeeded();
7894 return; 7894 return;
7895 } 7895 }
7896 TestObject* impl = V8TestObject::toImpl(info.Holder()); 7896 TestObject* impl = V8TestObject::toImpl(info.Holder());
7897 RefPtr<SerializedScriptValue> serializedScriptValueArg; 7897 RefPtr<SerializedScriptValue> serializedScriptValueArg;
7898 { 7898 {
7899 serializedScriptValueArg = SerializedScriptValueFactory::instance().crea te(info[0], 0, 0, exceptionState, info.GetIsolate()); 7899 serializedScriptValueArg = SerializedScriptValueFactory::instance().crea te(info.GetIsolate(), info[0], 0, 0, exceptionState);
7900 if (exceptionState.throwIfNeeded()) 7900 if (exceptionState.throwIfNeeded())
7901 return; 7901 return;
7902 } 7902 }
7903 impl->voidMethodSerializedScriptValueArg(serializedScriptValueArg); 7903 impl->voidMethodSerializedScriptValueArg(serializedScriptValueArg);
7904 } 7904 }
7905 7905
7906 static void voidMethodSerializedScriptValueArgMethodCallback(const v8::FunctionC allbackInfo<v8::Value>& info) 7906 static void voidMethodSerializedScriptValueArgMethodCallback(const v8::FunctionC allbackInfo<v8::Value>& info)
7907 { 7907 {
7908 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 7908 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
7909 TestObjectV8Internal::voidMethodSerializedScriptValueArgMethod(info); 7909 TestObjectV8Internal::voidMethodSerializedScriptValueArgMethod(info);
(...skipping 5547 matching lines...) Expand 10 before | Expand all | Expand 10 after
13457 return false; 13457 return false;
13458 13458
13459 ScriptState::Scope scope(scriptState); 13459 ScriptState::Scope scope(scriptState);
13460 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate()); 13460 v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Globa l(), scriptState->isolate());
13461 13461
13462 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ; 13462 ExceptionState exceptionState(ExceptionState::SetterContext, "enumForPrivate Script", "TestObject", scriptState->context()->Global(), scriptState->isolate()) ;
13463 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue)); 13463 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestObject", "enumForPrivateScript", holder, v8String(scriptState-> isolate(), cppValue));
13464 } 13464 }
13465 13465
13466 } // namespace blink 13466 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698