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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface2.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 "V8TestInterface2.h" 8 #include "V8TestInterface2.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 { 228 {
229 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 229 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
230 TestInterface2V8Internal::toStringMethod(info); 230 TestInterface2V8Internal::toStringMethod(info);
231 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 231 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
232 } 232 }
233 233
234 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) 234 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
235 { 235 {
236 RefPtr<TestInterface2> impl = TestInterface2::create(); 236 RefPtr<TestInterface2> impl = TestInterface2::create();
237 v8::Handle<v8::Object> wrapper = info.Holder(); 237 v8::Handle<v8::Object> wrapper = info.Holder();
238 impl->associateWithWrapper(&V8TestInterface2::wrapperTypeInfo, wrapper, info .GetIsolate()); 238 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterface2::wrapperType Info, wrapper);
239 v8SetReturnValue(info, wrapper); 239 v8SetReturnValue(info, wrapper);
240 } 240 }
241 241
242 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info) 242 static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo <v8::Value>& info)
243 { 243 {
244 TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); 244 TestInterface2* impl = V8TestInterface2::toImpl(info.Holder());
245 ExceptionState exceptionState(ExceptionState::IndexedGetterContext, "TestInt erface2", info.Holder(), info.GetIsolate()); 245 ExceptionState exceptionState(ExceptionState::IndexedGetterContext, "TestInt erface2", info.Holder(), info.GetIsolate());
246 RefPtr<TestInterfaceEmpty> result = impl->item(index, exceptionState); 246 RefPtr<TestInterfaceEmpty> result = impl->item(index, exceptionState);
247 if (exceptionState.throwIfNeeded()) 247 if (exceptionState.throwIfNeeded())
248 return; 248 return;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 scriptWrappable->toImpl<TestInterface2>()->deref(); 510 scriptWrappable->toImpl<TestInterface2>()->deref();
511 } 511 }
512 512
513 template<> 513 template<>
514 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 514 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
515 { 515 {
516 return toV8(impl, creationContext, isolate); 516 return toV8(impl, creationContext, isolate);
517 } 517 }
518 518
519 } // namespace blink 519 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698