blob: d872d0ccdd8a5a779444aed406a0b7cc94cfa6bc [file] [log] [blame]
// 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!
#ifndef V8TestInterfaceDocument_h
#define V8TestInterfaceDocument_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8DOMWrapper.h"
#include "bindings/core/v8/V8Document.h"
#include "bindings/core/v8/WrapperTypeInfo.h"
#include "bindings/tests/idls/core/TestInterfaceDocument.h"
#include "platform/heap/Handle.h"
namespace blink {
class V8TestInterfaceDocument {
public:
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*);
static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
static TestInterfaceDocument* toImpl(v8::Handle<v8::Object> object)
{
return blink::toScriptWrappableBase(object)->toImpl<TestInterfaceDocument>();
}
static TestInterfaceDocument* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static const WrapperTypeInfo wrapperTypeInfo;
static void refObject(ScriptWrappableBase*);
static void derefObject(ScriptWrappableBase*);
static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase)
{
#if ENABLE(OILPAN)
visitor->trace(scriptWrappableBase->toImpl<TestInterfaceDocument>());
#endif
}
static EventTarget* toEventTarget(v8::Handle<v8::Object>);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceDocument* impl)
{
return impl->toScriptWrappableBase();
}
static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
};
} // namespace blink
#endif // V8TestInterfaceDocument_h