| 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 26 matching lines...) Expand all Loading... |
| 37 * version of this file under the LGPL, indicate your decision by | 37 * version of this file under the LGPL, indicate your decision by |
| 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 "Length.h" | |
| 48 #include "RenderStyleConstants.h" | 47 #include "RenderStyleConstants.h" |
| 49 #include "Timer.h" | 48 #include "core/platform/Length.h" |
| 49 #include "core/platform/Timer.h" |
| 50 | 50 |
| 51 namespace WebCore { | 51 namespace WebCore { |
| 52 | 52 |
| 53 class RenderLayer; | 53 class RenderLayer; |
| 54 | 54 |
| 55 // This class handles the auto-scrolling of layers with overflow: marquee. | 55 // This class handles the auto-scrolling of layers with overflow: marquee. |
| 56 class RenderMarquee { | 56 class RenderMarquee { |
| 57 WTF_MAKE_NONCOPYABLE(RenderMarquee); WTF_MAKE_FAST_ALLOCATED; | 57 WTF_MAKE_NONCOPYABLE(RenderMarquee); WTF_MAKE_FAST_ALLOCATED; |
| 58 public: | 58 public: |
| 59 explicit RenderMarquee(RenderLayer*); | 59 explicit RenderMarquee(RenderLayer*); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 Length m_height; | 91 Length m_height; |
| 92 bool m_reset: 1; | 92 bool m_reset: 1; |
| 93 bool m_suspended : 1; | 93 bool m_suspended : 1; |
| 94 bool m_stopped : 1; | 94 bool m_stopped : 1; |
| 95 EMarqueeDirection m_direction : 4; | 95 EMarqueeDirection m_direction : 4; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace WebCore | 98 } // namespace WebCore |
| 99 | 99 |
| 100 #endif // RenderMarquee_h | 100 #endif // RenderMarquee_h |
| OLD | NEW |