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

Side by Side Diff: Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 690243002: 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
« no previous file with comments | « Source/bindings/tests/results/core/V8TestTypedefs.cpp ('k') | no next file » | 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 #if ENABLE(CONDITION) 8 #if ENABLE(CONDITION)
9 #include "V8TestInterface5.h" 9 #include "V8TestInterface5.h"
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 331 }
332 332
333 static void TestInterface5ImplementationForceSetAttributeOnThisCallback(v8::Loca l<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo <void>& info) 333 static void TestInterface5ImplementationForceSetAttributeOnThisCallback(v8::Loca l<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo <void>& info)
334 { 334 {
335 TestInterface5ImplementationV8Internal::TestInterface5ImplementationForceSet AttributeOnThis(name, v8Value, info); 335 TestInterface5ImplementationV8Internal::TestInterface5ImplementationForceSet AttributeOnThis(name, v8Value, info);
336 } 336 }
337 337
338 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo <v8::Value>& info) 338 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo <v8::Value>& info)
339 { 339 {
340 if (UNLIKELY(info.Length() < 1)) { 340 if (UNLIKELY(info.Length() < 1)) {
341 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod("v oidMethodTestInterfaceEmptyArg", "TestInterface5", 1, info.Length(), info.GetIso late()), info.GetIsolate()); 341 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in fo.GetIsolate(), "voidMethodTestInterfaceEmptyArg", "TestInterface5", 1, info.Le ngth()), info.GetIsolate());
342 return; 342 return;
343 } 343 }
344 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder()) ; 344 TestInterface5Implementation* impl = V8TestInterface5::toImpl(info.Holder()) ;
345 TestInterfaceEmpty* testInterfaceEmptyArg; 345 TestInterfaceEmpty* testInterfaceEmptyArg;
346 { 346 {
347 if (info.Length() > 0 && !V8TestInterfaceEmpty::hasInstance(info[0], inf o.GetIsolate())) { 347 if (info.Length() > 0 && !V8TestInterfaceEmpty::hasInstance(info[0], inf o.GetIsolate())) {
348 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "voidMethodTestInterfaceEmptyArg", "TestInterface5", "parameter 1 is not of type 'TestInterfaceEmpty'."), info.GetIsolate()); 348 V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute( "voidMethodTestInterfaceEmptyArg", "TestInterface5", "parameter 1 is not of type 'TestInterfaceEmpty'."), info.GetIsolate());
349 return; 349 return;
350 } 350 }
351 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImpl(v8::Handle<v8::Obje ct>::Cast(info[0])); 351 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImpl(v8::Handle<v8::Obje ct>::Cast(info[0]));
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 } 869 }
870 870
871 template<> 871 template<>
872 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl e<v8::Object> creationContext, v8::Isolate* isolate) 872 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl e<v8::Object> creationContext, v8::Isolate* isolate)
873 { 873 {
874 return toV8(impl, creationContext, isolate); 874 return toV8(impl, creationContext, isolate);
875 } 875 }
876 876
877 } // namespace blink 877 } // namespace blink
878 #endif // ENABLE(CONDITION) 878 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestTypedefs.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698