| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |