Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Side by Side Diff: Source/core/html/HTMLMarqueeElement.h

Issue 394773003: Implement HTMLMarqueeElement's animation in private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698