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