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

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

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hack for XML prefix Created 7 years, 1 month 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 15 matching lines...) Expand all
26 #include "core/dom/ActiveDOMObject.h" 26 #include "core/dom/ActiveDOMObject.h"
27 #include "core/html/HTMLElement.h" 27 #include "core/html/HTMLElement.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class ExceptionState; 31 class ExceptionState;
32 class RenderMarquee; 32 class RenderMarquee;
33 33
34 class HTMLMarqueeElement FINAL : public HTMLElement, private ActiveDOMObject { 34 class HTMLMarqueeElement FINAL : public HTMLElement, private ActiveDOMObject {
35 public: 35 public:
36 static PassRefPtr<HTMLMarqueeElement> create(const QualifiedName&, Document& ); 36 static PassRefPtr<HTMLMarqueeElement> create(Document&);
37 37
38 int minimumDelay() const; 38 int minimumDelay() const;
39 39
40 // DOM Functions 40 // DOM Functions
41 41
42 void start(); 42 void start();
43 void stop(); 43 void stop();
44 44
45 int scrollAmount() const; 45 int scrollAmount() const;
46 void setScrollAmount(int, ExceptionState&); 46 void setScrollAmount(int, ExceptionState&);
47 47
48 int scrollDelay() const; 48 int scrollDelay() const;
49 void setScrollDelay(int, ExceptionState&); 49 void setScrollDelay(int, ExceptionState&);
50 50
51 int loop() const; 51 int loop() const;
52 void setLoop(int, ExceptionState&); 52 void setLoop(int, ExceptionState&);
53 53
54 private: 54 private:
55 HTMLMarqueeElement(const QualifiedName&, Document&); 55 explicit HTMLMarqueeElement(Document&);
56 56
57 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 57 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
58 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; 58 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE;
59 59
60 // ActiveDOMObject 60 // ActiveDOMObject
61 virtual void suspend(); 61 virtual void suspend();
62 virtual void resume(); 62 virtual void resume();
63 63
64 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE FINAL; 64 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE FINAL;
65 65
66 RenderMarquee* renderMarquee() const; 66 RenderMarquee* renderMarquee() const;
67 }; 67 };
68 68
69 DEFINE_NODE_TYPE_CASTS(HTMLMarqueeElement, hasTagName(HTMLNames::marqueeTag)); 69 DEFINE_NODE_TYPE_CASTS(HTMLMarqueeElement, hasTagName(HTMLNames::marqueeTag));
70 70
71 } // namespace WebCore 71 } // namespace WebCore
72 72
73 #endif // HTMLMarqueeElement_h 73 #endif // HTMLMarqueeElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698