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

Unified 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, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/HTMLMarqueeElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMarqueeElement.h
diff --git a/Source/core/html/HTMLMarqueeElement.h b/Source/core/html/HTMLMarqueeElement.h
index 5b32575111e4854f65eb545af5866208872dca04..083380a8a1379b5fd4e104d799fe40e663880238 100644
--- a/Source/core/html/HTMLMarqueeElement.h
+++ b/Source/core/html/HTMLMarqueeElement.h
@@ -23,43 +23,21 @@
#ifndef HTMLMarqueeElement_h
#define HTMLMarqueeElement_h
-#include "core/dom/ActiveDOMObject.h"
#include "core/html/HTMLElement.h"
-#include "platform/Timer.h"
namespace blink {
-class RenderMarquee;
-
-class HTMLMarqueeElement FINAL : public HTMLElement, private ActiveDOMObject {
+class HTMLMarqueeElement final : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<HTMLMarqueeElement> create(Document&);
- int minimumDelay() const;
-
- // DOM Functions
-
- void start();
- virtual void stop() OVERRIDE;
-
- void timerFired(Timer<HTMLMarqueeElement>*);
+ virtual void attributeWillChange(const QualifiedName&, const AtomicString& oldValue, const AtomicString& newValue) final;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) final;
+ virtual void removedFrom(ContainerNode*) final;
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;
-
- // ActiveDOMObject
- virtual void suspend() OVERRIDE;
- virtual void resume() OVERRIDE;
-
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
-
- RenderMarquee* renderMarquee() const;
};
} // namespace blink
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/HTMLMarqueeElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698