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

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

Issue 686103005: 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } 247 }
248 options.get("initializedByEventConstructorReadonlyAnyAttribute", initial izedByEventConstructorReadonlyAnyAttribute); 248 options.get("initializedByEventConstructorReadonlyAnyAttribute", initial izedByEventConstructorReadonlyAnyAttribute);
249 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty()) 249 if (!initializedByEventConstructorReadonlyAnyAttribute.IsEmpty())
250 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), v8At omicString(info.GetIsolate(), "initializedByEventConstructorReadonlyAnyAttribute "), initializedByEventConstructorReadonlyAnyAttribute); 250 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), v8At omicString(info.GetIsolate(), "initializedByEventConstructorReadonlyAnyAttribute "), initializedByEventConstructorReadonlyAnyAttribute);
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(initializedByEventConstructo rReadonlyAnyAttribute, info.GetIsolate())); 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(&V8TestInterfaceEventConstructor::wrapperTypeInf o, wrapper, info.GetIsolate());
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[] = {
(...skipping 119 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
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698