| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 class ExceptionState; | 32 class ExceptionState; |
| 33 class RenderMarquee; | 33 class RenderMarquee; |
| 34 | 34 |
| 35 class HTMLMarqueeElement FINAL : public HTMLElement, private ActiveDOMObject { | 35 class HTMLMarqueeElement FINAL : public HTMLElement, private ActiveDOMObject { |
| 36 public: | 36 public: |
| 37 static PassRefPtrWillBeRawPtr<HTMLMarqueeElement> create(Document&); | 37 static PassRefPtrWillBeRawPtr<HTMLMarqueeElement> create(Document&); |
| 38 | 38 |
| 39 int minimumDelay() const; | 39 int minimumDelay() const; |
| 40 | 40 |
| 41 // DOM Functions | 41 // DOM Functions |
| 42 | |
| 43 void start(); | |
| 44 virtual void stop() OVERRIDE; | |
| 45 | |
| 46 void timerFired(Timer<HTMLMarqueeElement>*); | 42 void timerFired(Timer<HTMLMarqueeElement>*); |
| 47 | 43 |
| 48 private: | 44 private: |
| 49 explicit HTMLMarqueeElement(Document&); | 45 explicit HTMLMarqueeElement(Document&); |
| 50 | 46 |
| 51 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 47 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
| 52 | 48 |
| 53 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 49 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 54 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 50 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
| 55 | 51 |
| 56 // ActiveDOMObject | 52 // ActiveDOMObject |
| 57 virtual void suspend() OVERRIDE; | 53 virtual void suspend() OVERRIDE; |
| 58 virtual void resume() OVERRIDE; | 54 virtual void resume() OVERRIDE; |
| 59 | 55 |
| 60 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 56 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 61 | 57 |
| 62 RenderMarquee* renderMarquee() const; | 58 RenderMarquee* renderMarquee() const; |
| 63 }; | 59 }; |
| 64 | 60 |
| 65 } // namespace WebCore | 61 } // namespace WebCore |
| 66 | 62 |
| 67 #endif // HTMLMarqueeElement_h | 63 #endif // HTMLMarqueeElement_h |
| OLD | NEW |