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

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

Issue 813513004: [bindings] Remove all the usages of Handle<> from binding templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months 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 "V8TestInterfaceConstructor.h" 8 #include "V8TestInterfaceConstructor.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 // Custom toString template 320 // Custom toString template
321 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 321 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
322 } 322 }
323 323
324 v8::Local<v8::FunctionTemplate> V8TestInterfaceConstructor::domTemplate(v8::Isol ate* isolate) 324 v8::Local<v8::FunctionTemplate> V8TestInterfaceConstructor::domTemplate(v8::Isol ate* isolate)
325 { 325 {
326 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterfaceConstructorTemplate); 326 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterfaceConstructorTemplate);
327 } 327 }
328 328
329 bool V8TestInterfaceConstructor::hasInstance(v8::Handle<v8::Value> v8Value, v8:: Isolate* isolate) 329 bool V8TestInterfaceConstructor::hasInstance(v8::Local<v8::Value> v8Value, v8::I solate* isolate)
330 { 330 {
331 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 331 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
332 } 332 }
333 333
334 v8::Handle<v8::Object> V8TestInterfaceConstructor::findInstanceInPrototypeChain( v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) 334 v8::Local<v8::Object> V8TestInterfaceConstructor::findInstanceInPrototypeChain(v 8::Local<v8::Value> v8Value, v8::Isolate* isolate)
335 { 335 {
336 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 336 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
337 } 337 }
338 338
339 TestInterfaceConstructor* V8TestInterfaceConstructor::toImplWithTypeCheck(v8::Is olate* isolate, v8::Handle<v8::Value> value) 339 TestInterfaceConstructor* V8TestInterfaceConstructor::toImplWithTypeCheck(v8::Is olate* isolate, v8::Local<v8::Value> value)
340 { 340 {
341 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val ue)) : 0; 341 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu e)) : 0;
342 } 342 }
343 343
344 void V8TestInterfaceConstructor::refObject(ScriptWrappable* scriptWrappable) 344 void V8TestInterfaceConstructor::refObject(ScriptWrappable* scriptWrappable)
345 { 345 {
346 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref(); 346 scriptWrappable->toImpl<TestInterfaceConstructor>()->ref();
347 } 347 }
348 348
349 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable) 349 void V8TestInterfaceConstructor::derefObject(ScriptWrappable* scriptWrappable)
350 { 350 {
351 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref(); 351 scriptWrappable->toImpl<TestInterfaceConstructor>()->deref();
352 } 352 }
353 353
354 } // namespace blink 354 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698