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

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

Issue 668673002: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Created 6 years, 2 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 #if ENABLE(CONDITION) 8 #if ENABLE(CONDITION)
9 #include "V8TestInterface.h" 9 #include "V8TestInterface.h"
10 10
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 { 453 {
454 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 454 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
455 TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttrib uteGetter(info); 455 TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttrib uteGetter(info);
456 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 456 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
457 } 457 }
458 458
459 static void implementsEventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 459 static void implementsEventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
460 { 460 {
461 v8::Handle<v8::Object> holder = info.Holder(); 461 v8::Handle<v8::Object> holder = info.Holder();
462 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); 462 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder);
463 moveEventListenerToNewWrapper(holder, impl->implementsEventHandlerAttribute( ), v8Value, V8TestInterface::eventListenerCacheIndex, info.GetIsolate()); 463 moveEventListenerToNewWrapper(info.GetIsolate(), holder, impl->implementsEve ntHandlerAttribute(), v8Value, V8TestInterface::eventListenerCacheIndex);
464 impl->setImplementsEventHandlerAttribute(V8EventListenerList::getEventListen er(ScriptState::current(info.GetIsolate()), v8Value, true, ListenerFindOrCreate) ); 464 impl->setImplementsEventHandlerAttribute(V8EventListenerList::getEventListen er(ScriptState::current(info.GetIsolate()), v8Value, true, ListenerFindOrCreate) );
465 } 465 }
466 466
467 static void implementsEventHandlerAttributeAttributeSetterCallback(v8::Local<v8: :String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in fo) 467 static void implementsEventHandlerAttributeAttributeSetterCallback(v8::Local<v8: :String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& in fo)
468 { 468 {
469 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 469 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
470 TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttrib uteSetter(v8Value, info); 470 TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttrib uteSetter(v8Value, info);
471 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 471 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
472 } 472 }
473 473
(...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
2163 2163
2164 ScriptState::Scope scope(scriptState); 2164 ScriptState::Scope scope(scriptState);
2165 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate()); 2165 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Glob al(), scriptState->isolate());
2166 2166
2167 ExceptionState exceptionState(ExceptionState::SetterContext, "stringAttribut e", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState ->isolate()); 2167 ExceptionState exceptionState(ExceptionState::SetterContext, "stringAttribut e", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState ->isolate());
2168 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestInterfaceImplementation", "stringAttribute", holder, v8String(s criptState->isolate(), cppValue)); 2168 return PrivateScriptRunner::runDOMAttributeSetter(scriptState, scriptStateIn UserScript, "TestInterfaceImplementation", "stringAttribute", holder, v8String(s criptState->isolate(), cppValue));
2169 } 2169 }
2170 2170
2171 } // namespace blink 2171 } // namespace blink
2172 #endif // ENABLE(CONDITION) 2172 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698