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

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

Issue 698023005: 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, 1 month 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 "V8TestInterfaceEventConstructor.h" 8 #include "V8TestInterfaceEventConstructor.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 } 251 }
252 RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEvent Constructor::create(type, eventInit, exceptionState); 252 RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEvent Constructor::create(type, eventInit, exceptionState);
253 if (exceptionState.throwIfNeeded()) 253 if (exceptionState.throwIfNeeded())
254 return; 254 return;
255 if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) { 255 if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) {
256 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) 256 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty())
257 event->setSerializedInitializedByEventConstructorReadonlyAnyAttribut e(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), initializ edByEventConstructorReadonlyAnyAttribute)); 257 event->setSerializedInitializedByEventConstructorReadonlyAnyAttribut e(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), initializ edByEventConstructorReadonlyAnyAttribute));
258 } 258 }
259 259
260 v8::Handle<v8::Object> wrapper = info.Holder(); 260 v8::Handle<v8::Object> wrapper = info.Holder();
261 event->associateWithWrapper(&V8TestInterfaceEventConstructor::wrapperTypeInf o, wrapper, info.GetIsolate()); 261 event->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventConstruc tor::wrapperTypeInfo, wrapper);
262 v8SetReturnValue(info, wrapper); 262 v8SetReturnValue(info, wrapper);
263 } 263 }
264 264
265 } // namespace TestInterfaceEventConstructorV8Internal 265 } // namespace TestInterfaceEventConstructorV8Internal
266 266
267 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceEventCons tructorAttributes[] = { 267 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceEventCons tructorAttributes[] = {
268 {"readonlyStringAttribute", TestInterfaceEventConstructorV8Internal::readonl yStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContr ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurati on::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 268 {"readonlyStringAttribute", TestInterfaceEventConstructorV8Internal::readonl yStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContr ol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurati on::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
269 {"initializedByEventConstructorReadonlyStringAttribute", TestInterfaceEventC onstructorV8Internal::initializedByEventConstructorReadonlyStringAttributeAttrib uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnInstance}, 269 {"initializedByEventConstructorReadonlyStringAttribute", TestInterfaceEventC onstructorV8Internal::initializedByEventConstructorReadonlyStringAttributeAttrib uteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript s, V8DOMConfiguration::OnInstance},
270 {"initializedByEventConstructorReadonlyAnyAttribute", TestInterfaceEventCons tructorV8Internal::initializedByEventConstructorReadonlyAnyAttributeAttributeGet terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnInstance}, 270 {"initializedByEventConstructorReadonlyAnyAttribute", TestInterfaceEventCons tructorV8Internal::initializedByEventConstructorReadonlyAnyAttributeAttributeGet terCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnInstance},
271 {"initializedByEventConstructorReadonlyBooleanAttribute", TestInterfaceEvent ConstructorV8Internal::initializedByEventConstructorReadonlyBooleanAttributeAttr ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri pts, V8DOMConfiguration::OnInstance}, 271 {"initializedByEventConstructorReadonlyBooleanAttribute", TestInterfaceEvent ConstructorV8Internal::initializedByEventConstructorReadonlyBooleanAttributeAttr ibuteGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScri pts, V8DOMConfiguration::OnInstance},
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 #endif 387 #endif
388 } 388 }
389 389
390 template<> 390 template<>
391 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand le<v8::Object> creationContext, v8::Isolate* isolate) 391 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand le<v8::Object> creationContext, v8::Isolate* isolate)
392 { 392 {
393 return toV8(impl, creationContext, isolate); 393 return toV8(impl, creationContext, isolate);
394 } 394 }
395 395
396 } // namespace blink 396 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698