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

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

Issue 1017733003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More test rebaselines Created 5 years, 9 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 | Annotate | Revision Log
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 "V8TestInterfaceGarbageCollected.h" 8 #include "V8TestInterfaceGarbageCollected.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface GarbageCollectedMethods)); 375 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface GarbageCollectedMethods));
376 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo rCallback); 376 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo rCallback);
377 functionTemplate->SetLength(1); 377 functionTemplate->SetLength(1);
378 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 378 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
379 ALLOW_UNUSED_LOCAL(instanceTemplate); 379 ALLOW_UNUSED_LOCAL(instanceTemplate);
380 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 380 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
381 ALLOW_UNUSED_LOCAL(prototypeTemplate); 381 ALLOW_UNUSED_LOCAL(prototypeTemplate);
382 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceGarbageCollectedV 8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; 382 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceGarbageCollectedV 8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts };
383 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu re, v8::DontDelete, symbolKeyedIteratorConfiguration); 383 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu re, v8::DontDelete, symbolKeyedIteratorConfiguration);
384 384
385 instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(is olate, "TestInterfaceGarbageCollected"));
386
387 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i solate, "TestInterfaceGarbageCollectedPrototype"));
388
385 // Custom toString template 389 // Custom toString template
386 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 390 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
387 } 391 }
388 392
389 v8::Local<v8::FunctionTemplate> V8TestInterfaceGarbageCollected::domTemplate(v8: :Isolate* isolate) 393 v8::Local<v8::FunctionTemplate> V8TestInterfaceGarbageCollected::domTemplate(v8: :Isolate* isolate)
390 { 394 {
391 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterfaceGarbageCollectedTemplate); 395 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterfaceGarbageCollectedTemplate);
392 } 396 }
393 397
394 bool V8TestInterfaceGarbageCollected::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) 398 bool V8TestInterfaceGarbageCollected::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
(...skipping 13 matching lines...) Expand all
408 412
409 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable ) 413 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable )
410 { 414 {
411 } 415 }
412 416
413 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab le) 417 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab le)
414 { 418 {
415 } 419 }
416 420
417 } // namespace blink 421 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698