#ifndef HTMLAppletElement_h
#define HTMLAppletElement_h
#include "core/html/HTMLPlugInElement.h"
namespace WebCore {
class KURL;
class HTMLAppletElement FINAL : public HTMLPlugInElement {
public:
    static PassRefPtr<HTMLAppletElement> create(Document&, bool createdByParser);
protected:
    virtual RenderWidget* renderWidgetForJSBindings() const OVERRIDE;
private:
    HTMLAppletElement(Document&, bool createdByParser);
    virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
    virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
    virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE;
    virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
    virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
    virtual RenderWidget* existingRenderWidget() const OVERRIDE;
    virtual void updateWidgetInternal() OVERRIDE;
    bool canEmbedJava() const;
    bool canEmbedURL(const KURL&) const;
    virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; }
    virtual bool shouldRegisterAsExtraNamedItem() const OVERRIDE { return true; }
};
}
#endif