#ifndef HTMLMarqueeElement_h
#define HTMLMarqueeElement_h
#include "core/dom/ActiveDOMObject.h"
#include "core/html/HTMLElement.h"
namespace WebCore {
class ExceptionState;
class RenderMarquee;
class HTMLMarqueeElement FINAL : public HTMLElement, private ActiveDOMObject {
public:
static PassRefPtr<HTMLMarqueeElement> create(Document&);
int minimumDelay() const;
void start();
virtual void stop() OVERRIDE;
int scrollAmount() const;
void setScrollAmount(int, ExceptionState&);
int scrollDelay() const;
void setScrollDelay(int, ExceptionState&);
int loop() const;
void setLoop(int, ExceptionState&);
void timerFired(Timer<HTMLMarqueeElement>*);
private:
explicit HTMLMarqueeElement(Document&);
virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
virtual void suspend() OVERRIDE;
virtual void resume() OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
RenderMarquee* renderMarquee() const;
};
}
#endif