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

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

Issue 922233002: bindings: Makes runtime-enabled attributes on prototype chains compilable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed review comments. Created 5 years, 10 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf aceGarbageCollectedAttributes), 364 V8TestInterfaceGarbageCollectedAttributes, WTF_ARRAY_LENGTH(V8TestInterf aceGarbageCollectedAttributes),
365 0, 0, 365 0, 0,
366 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface GarbageCollectedMethods)); 366 V8TestInterfaceGarbageCollectedMethods, WTF_ARRAY_LENGTH(V8TestInterface GarbageCollectedMethods));
367 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo rCallback); 367 functionTemplate->SetCallHandler(V8TestInterfaceGarbageCollected::constructo rCallback);
368 functionTemplate->SetLength(1); 368 functionTemplate->SetLength(1);
369 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate(); 369 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT emplate();
370 ALLOW_UNUSED_LOCAL(instanceTemplate); 370 ALLOW_UNUSED_LOCAL(instanceTemplate);
371 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate(); 371 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp eTemplate();
372 ALLOW_UNUSED_LOCAL(prototypeTemplate); 372 ALLOW_UNUSED_LOCAL(prototypeTemplate);
373 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceGarbageCollectedV 8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; 373 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceGarbageCollectedV 8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts };
374 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D ontDelete, symbolKeyedIteratorConfiguration, isolate); 374 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu re, v8::DontDelete, symbolKeyedIteratorConfiguration);
375 375
376 // Custom toString template 376 // Custom toString template
377 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate()); 377 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData: :from(isolate)->toStringTemplate());
378 } 378 }
379 379
380 v8::Local<v8::FunctionTemplate> V8TestInterfaceGarbageCollected::domTemplate(v8: :Isolate* isolate) 380 v8::Local<v8::FunctionTemplate> V8TestInterfaceGarbageCollected::domTemplate(v8: :Isolate* isolate)
381 { 381 {
382 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterfaceGarbageCollectedTemplate); 382 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI nfo*>(&wrapperTypeInfo), installV8TestInterfaceGarbageCollectedTemplate);
383 } 383 }
384 384
(...skipping 14 matching lines...) Expand all
399 399
400 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable ) 400 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable )
401 { 401 {
402 } 402 }
403 403
404 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab le) 404 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab le)
405 { 405 {
406 } 406 }
407 407
408 } // namespace blink 408 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698