OLD | NEW |
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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 } | 334 } |
335 RawPtr<TestInterfaceGarbageCollected> impl = TestInterfaceGarbageCollected::
create(str); | 335 RawPtr<TestInterfaceGarbageCollected> impl = TestInterfaceGarbageCollected::
create(str); |
336 v8::Local<v8::Object> wrapper = info.Holder(); | 336 v8::Local<v8::Object> wrapper = info.Holder(); |
337 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceGarbageCollect
ed::wrapperTypeInfo, wrapper); | 337 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceGarbageCollect
ed::wrapperTypeInfo, wrapper); |
338 v8SetReturnValue(info, wrapper); | 338 v8SetReturnValue(info, wrapper); |
339 } | 339 } |
340 | 340 |
341 } // namespace TestInterfaceGarbageCollectedV8Internal | 341 } // namespace TestInterfaceGarbageCollectedV8Internal |
342 | 342 |
343 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceGarbageCol
lectedAccessors[] = { | 343 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceGarbageCol
lectedAccessors[] = { |
344 {"attr1", TestInterfaceGarbageCollectedV8Internal::attr1AttributeGetterCallb
ack, TestInterfaceGarbageCollectedV8Internal::attr1AttributeSetterCallback, 0, 0
, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurati
on::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Ch
eckHolder}, | 344 {"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::OnP
rototype, V8DOMConfiguration::CheckHolder}, |
345 }; | 345 }; |
346 | 346 |
347 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceGarbageColle
ctedMethods[] = { | 347 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceGarbageColle
ctedMethods[] = { |
348 {"func", TestInterfaceGarbageCollectedV8Internal::funcMethodCallback, 0, 1,
V8DOMConfiguration::ExposedToAllScripts}, | 348 {"func", TestInterfaceGarbageCollectedV8Internal::funcMethodCallback, 0, 1,
V8DOMConfiguration::ExposedToAllScripts}, |
349 {"keys", TestInterfaceGarbageCollectedV8Internal::keysMethodCallback, 0, 0,
V8DOMConfiguration::ExposedToAllScripts}, | 349 {"keys", TestInterfaceGarbageCollectedV8Internal::keysMethodCallback, 0, 0,
V8DOMConfiguration::ExposedToAllScripts}, |
350 {"values", TestInterfaceGarbageCollectedV8Internal::valuesMethodCallback, 0,
0, V8DOMConfiguration::ExposedToAllScripts}, | 350 {"values", TestInterfaceGarbageCollectedV8Internal::valuesMethodCallback, 0,
0, V8DOMConfiguration::ExposedToAllScripts}, |
351 {"entries", TestInterfaceGarbageCollectedV8Internal::entriesMethodCallback,
0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 351 {"entries", TestInterfaceGarbageCollectedV8Internal::entriesMethodCallback,
0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
352 {"forEach", TestInterfaceGarbageCollectedV8Internal::forEachMethodCallback,
0, 1, V8DOMConfiguration::ExposedToAllScripts}, | 352 {"forEach", TestInterfaceGarbageCollectedV8Internal::forEachMethodCallback,
0, 1, V8DOMConfiguration::ExposedToAllScripts}, |
353 {"has", TestInterfaceGarbageCollectedV8Internal::hasMethodCallback, 0, 1, V8
DOMConfiguration::ExposedToAllScripts}, | 353 {"has", TestInterfaceGarbageCollectedV8Internal::hasMethodCallback, 0, 1, V8
DOMConfiguration::ExposedToAllScripts}, |
354 {"add", TestInterfaceGarbageCollectedV8Internal::addMethodCallback, 0, 1, V8
DOMConfiguration::ExposedToAllScripts}, | 354 {"add", TestInterfaceGarbageCollectedV8Internal::addMethodCallback, 0, 1, V8
DOMConfiguration::ExposedToAllScripts}, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 | 416 |
417 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable
) | 417 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappable* scriptWrappable
) |
418 { | 418 { |
419 } | 419 } |
420 | 420 |
421 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab
le) | 421 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappable* scriptWrappab
le) |
422 { | 422 { |
423 } | 423 } |
424 | 424 |
425 } // namespace blink | 425 } // namespace blink |
OLD | NEW |