| Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestSubObject.h
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestSubObject.h b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestSubObject.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee71d1e76196da6352a42192f92d70324fc2e9a3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestSubObject.h
|
| @@ -0,0 +1,68 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// This file has been auto-generated by code_generator_v8.py.
|
| +// DO NOT MODIFY!
|
| +
|
| +// This file has been generated from the Jinja2 template in
|
| +// third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| +
|
| +// clang-format off
|
| +#ifndef V8TestSubObject_h
|
| +#define V8TestSubObject_h
|
| +
|
| +#include "bindings/core/v8/GeneratedCodeHelper.h"
|
| +#include "bindings/core/v8/NativeValueTraits.h"
|
| +#include "bindings/core/v8/ToV8ForCore.h"
|
| +#include "bindings/core/v8/V8BindingForCore.h"
|
| +#include "bindings/core/v8/V8TestObject.h"
|
| +#include "bindings/tests/idls/modules/TestSubObject.h"
|
| +#include "modules/ModulesExport.h"
|
| +#include "platform/bindings/ScriptWrappable.h"
|
| +#include "platform/bindings/V8DOMWrapper.h"
|
| +#include "platform/bindings/WrapperTypeInfo.h"
|
| +#include "platform/heap/Handle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class V8TestSubObject {
|
| + STATIC_ONLY(V8TestSubObject);
|
| + public:
|
| + MODULES_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
|
| + static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
|
| + MODULES_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
|
| + static TestSubObject* toImpl(v8::Local<v8::Object> object) {
|
| + return ToScriptWrappable(object)->ToImpl<TestSubObject>();
|
| + }
|
| + MODULES_EXPORT static TestSubObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
|
| + MODULES_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
|
| + static void Trace(Visitor* visitor, ScriptWrappable* scriptWrappable) {
|
| + visitor->Trace(scriptWrappable->ToImpl<TestSubObject>());
|
| + }
|
| + static void TraceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {
|
| + visitor->TraceWrappers(scriptWrappable->ToImpl<TestSubObject>());
|
| + }
|
| + static const int internalFieldCount = kV8DefaultWrapperInternalFieldCount + 0;
|
| +
|
| + // Callback functions
|
| +
|
| + MODULES_EXPORT static void unforgeableStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| + MODULES_EXPORT static void unforgeableStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| + MODULES_EXPORT static void unforgeableLongAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| + MODULES_EXPORT static void unforgeableLongAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| +};
|
| +
|
| +template <>
|
| +struct NativeValueTraits<TestSubObject> : public NativeValueTraitsBase<TestSubObject> {
|
| + MODULES_EXPORT static TestSubObject* NativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
| +};
|
| +
|
| +template <>
|
| +struct V8TypeOf<TestSubObject> {
|
| + typedef V8TestSubObject Type;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // V8TestSubObject_h
|
|
|