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

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

Issue 1161463009: bindings: Supports [LenientThis] extended attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a layout test for [LenientThis]. Created 5 years, 6 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 } 325 }
326 RawPtr<TestInterfaceGarbageCollected> impl = TestInterfaceGarbageCollected:: create(str); 326 RawPtr<TestInterfaceGarbageCollected> impl = TestInterfaceGarbageCollected:: create(str);
327 v8::Local<v8::Object> wrapper = info.Holder(); 327 v8::Local<v8::Object> wrapper = info.Holder();
328 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceGarbageCollect ed::wrapperTypeInfo, wrapper); 328 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceGarbageCollect ed::wrapperTypeInfo, wrapper);
329 v8SetReturnValue(info, wrapper); 329 v8SetReturnValue(info, wrapper);
330 } 330 }
331 331
332 } // namespace TestInterfaceGarbageCollectedV8Internal 332 } // namespace TestInterfaceGarbageCollectedV8Internal
333 333
334 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceGarbageCol lectedAccessors[] = { 334 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceGarbageCol lectedAccessors[] = {
335 {"attr1", TestInterfaceGarbageCollectedV8Internal::attr1AttributeGetterCallb ack, TestInterfaceGarbageCollectedV8Internal::attr1AttributeSetterCallback, 0, 0 , 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttrib ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts}, 335 {"attr1", TestInterfaceGarbageCollectedV8Internal::attr1AttributeGetterCallb ack, TestInterfaceGarbageCollectedV8Internal::attr1AttributeSetterCallback, 0, 0 , 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttrib ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::Che ckHolder},
336 }; 336 };
337 337
338 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceGarbageColle ctedMethods[] = { 338 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceGarbageColle ctedMethods[] = {
339 {"func", TestInterfaceGarbageCollectedV8Internal::funcMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, 339 {"func", TestInterfaceGarbageCollectedV8Internal::funcMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts},
340 {"keys", TestInterfaceGarbageCollectedV8Internal::keysMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 340 {"keys", TestInterfaceGarbageCollectedV8Internal::keysMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
341 {"values", TestInterfaceGarbageCollectedV8Internal::valuesMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 341 {"values", TestInterfaceGarbageCollectedV8Internal::valuesMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
342 {"entries", TestInterfaceGarbageCollectedV8Internal::entriesMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 342 {"entries", TestInterfaceGarbageCollectedV8Internal::entriesMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
343 {"forEach", TestInterfaceGarbageCollectedV8Internal::forEachMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, 343 {"forEach", TestInterfaceGarbageCollectedV8Internal::forEachMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts},
344 {"has", TestInterfaceGarbageCollectedV8Internal::hasMethodCallback, 0, 1, V8 DOMConfiguration::ExposedToAllScripts}, 344 {"has", TestInterfaceGarbageCollectedV8Internal::hasMethodCallback, 0, 1, V8 DOMConfiguration::ExposedToAllScripts},
345 {"add", TestInterfaceGarbageCollectedV8Internal::addMethodCallback, 0, 1, V8 DOMConfiguration::ExposedToAllScripts}, 345 {"add", TestInterfaceGarbageCollectedV8Internal::addMethodCallback, 0, 1, V8 DOMConfiguration::ExposedToAllScripts},
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable ) 408 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable )
409 { 409 {
410 } 410 }
411 411
412 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab le) 412 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab le)
413 { 413 {
414 } 414 }
415 415
416 } // namespace blink 416 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698