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

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

Issue 772743003: 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 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 "V8TestInterfaceCustomConstructor.h" 8 #include "V8TestInterfaceCustomConstructor.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 V8TestInterfaceCustomConstructor::constructorCustom(info); 48 V8TestInterfaceCustomConstructor::constructorCustom(info);
49 } 49 }
50 50
51 static void installV8TestInterfaceCustomConstructorTemplate(v8::Handle<v8::Funct ionTemplate> functionTemplate, v8::Isolate* isolate) 51 static void installV8TestInterfaceCustomConstructorTemplate(v8::Handle<v8::Funct ionTemplate> functionTemplate, v8::Isolate* isolate)
52 { 52 {
53 functionTemplate->ReadOnlyPrototype(); 53 functionTemplate->ReadOnlyPrototype();
54 54
55 v8::Local<v8::Signature> defaultSignature; 55 v8::Local<v8::Signature> defaultSignature;
56 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTempl ate, "TestInterfaceCustomConstructor", v8::Local<v8::FunctionTemplate>(), V8Test InterfaceCustomConstructor::internalFieldCount, 56 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceCustomConstructor", v8::Local<v8::FunctionTemplate>( ), V8TestInterfaceCustomConstructor::internalFieldCount,
57 0, 0, 57 0, 0,
58 0, 0, 58 0, 0,
59 0, 0, 59 0, 0);
60 isolate);
61 functionTemplate->SetCallHandler(V8TestInterfaceCustomConstructor::construct orCallback); 60 functionTemplate->SetCallHandler(V8TestInterfaceCustomConstructor::construct orCallback);
62 functionTemplate->SetLength(0); 61 functionTemplate->SetLength(0);
63 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 62 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
64 ALLOW_UNUSED_LOCAL(instanceTemplate); 63 ALLOW_UNUSED_LOCAL(instanceTemplate);
65 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 64 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
66 ALLOW_UNUSED_LOCAL(prototypeTemplate); 65 ALLOW_UNUSED_LOCAL(prototypeTemplate);
67 66
68 // Custom toString template 67 // Custom toString template
69 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 68 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
70 } 69 }
(...skipping 28 matching lines...) Expand all
99 scriptWrappable->toImpl<TestInterfaceCustomConstructor>()->deref(); 98 scriptWrappable->toImpl<TestInterfaceCustomConstructor>()->deref();
100 } 99 }
101 100
102 template<> 101 template<>
103 v8::Handle<v8::Value> toV8NoInline(TestInterfaceCustomConstructor* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate) 102 v8::Handle<v8::Value> toV8NoInline(TestInterfaceCustomConstructor* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate)
104 { 103 {
105 return toV8(impl, creationContext, isolate); 104 return toV8(impl, creationContext, isolate);
106 } 105 }
107 106
108 } // namespace blink 107 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698