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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
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 virtual void attributeWillChange(const QualifiedName&, const AtomicString& o
ldValue, const AtomicString& newValue) OVERRIDE; |
40 | 40 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
41 // DOM Functions | 41 virtual void removedFrom(ContainerNode*) OVERRIDE; |
42 | |
43 void start(); | |
44 virtual void stop() OVERRIDE; | |
45 | |
46 void timerFired(Timer<HTMLMarqueeElement>*); | |
47 | 42 |
48 private: | 43 private: |
49 explicit HTMLMarqueeElement(Document&); | 44 explicit HTMLMarqueeElement(Document&); |
50 | |
51 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | |
52 | |
53 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | |
54 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | |
55 | |
56 // ActiveDOMObject | |
57 virtual void suspend() OVERRIDE; | |
58 virtual void resume() OVERRIDE; | |
59 | |
60 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | |
61 | |
62 RenderMarquee* renderMarquee() const; | |
63 }; | 45 }; |
64 | 46 |
65 } // namespace blink | 47 } // namespace blink |
66 | 48 |
67 #endif // HTMLMarqueeElement_h | 49 #endif // HTMLMarqueeElement_h |
OLD | NEW |