OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003 Apple Computer, Inc. | 2 * Copyright (C) 2003 Apple Computer, Inc. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 27 matching lines...) Expand all Loading... |
38 * deletingthe provisions above and replace them with the notice and | 38 * deletingthe provisions above and replace them with the notice and |
39 * other provisions required by the MPL or the GPL, as the case may be. | 39 * other provisions required by the MPL or the GPL, as the case may be. |
40 * If you do not delete the provisions above, a recipient may use your | 40 * If you do not delete the provisions above, a recipient may use your |
41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
42 */ | 42 */ |
43 | 43 |
44 #ifndef RenderMarquee_h | 44 #ifndef RenderMarquee_h |
45 #define RenderMarquee_h | 45 #define RenderMarquee_h |
46 | 46 |
47 #include "core/rendering/RenderBlockFlow.h" | 47 #include "core/rendering/RenderBlockFlow.h" |
48 #include "core/rendering/style/RenderStyleConstants.h" | |
49 #include "platform/Length.h" | 48 #include "platform/Length.h" |
| 49 #include "platform/RenderStyleConstants.h" |
50 #include "platform/Timer.h" | 50 #include "platform/Timer.h" |
51 | 51 |
52 namespace WebCore { | 52 namespace WebCore { |
53 | 53 |
54 class RenderLayer; | 54 class RenderLayer; |
55 | 55 |
56 // This class handles the auto-scrolling for <marquee> | 56 // This class handles the auto-scrolling for <marquee> |
57 class RenderMarquee FINAL : public RenderBlockFlow { | 57 class RenderMarquee FINAL : public RenderBlockFlow { |
58 public: | 58 public: |
59 explicit RenderMarquee(Element*); | 59 explicit RenderMarquee(Element*); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool m_suspended : 1; | 103 bool m_suspended : 1; |
104 bool m_stopped : 1; | 104 bool m_stopped : 1; |
105 EMarqueeDirection m_direction : 4; | 105 EMarqueeDirection m_direction : 4; |
106 }; | 106 }; |
107 | 107 |
108 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMarquee, isMarquee()); | 108 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMarquee, isMarquee()); |
109 | 109 |
110 } // namespace WebCore | 110 } // namespace WebCore |
111 | 111 |
112 #endif // RenderMarquee_h | 112 #endif // RenderMarquee_h |
OLD | NEW |