| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 * deletingthe provisions above and replace them with the notice and | 39 * deletingthe provisions above and replace them with the notice and |
| 40 * other provisions required by the MPL or the GPL, as the case may be. | 40 * other provisions required by the MPL or the GPL, as the case may be. |
| 41 * If you do not delete the provisions above, a recipient may use your | 41 * If you do not delete the provisions above, a recipient may use your |
| 42 * version of this file under any of the LGPL, the MPL or the GPL. | 42 * version of this file under any of the LGPL, the MPL or the GPL. |
| 43 */ | 43 */ |
| 44 | 44 |
| 45 #include "config.h" | 45 #include "config.h" |
| 46 | 46 |
| 47 #include "core/rendering/RenderMarquee.h" | 47 #include "core/rendering/RenderMarquee.h" |
| 48 | 48 |
| 49 #include "HTMLMarqueeElement.h" | |
| 50 #include "HTMLNames.h" | 49 #include "HTMLNames.h" |
| 50 #include "core/html/HTMLMarqueeElement.h" |
| 51 #include "core/page/FrameView.h" | 51 #include "core/page/FrameView.h" |
| 52 #include "core/rendering/RenderLayer.h" | 52 #include "core/rendering/RenderLayer.h" |
| 53 #include "core/rendering/RenderView.h" | 53 #include "core/rendering/RenderView.h" |
| 54 | 54 |
| 55 using namespace std; | 55 using namespace std; |
| 56 | 56 |
| 57 namespace WebCore { | 57 namespace WebCore { |
| 58 | 58 |
| 59 using namespace HTMLNames; | 59 using namespace HTMLNames; |
| 60 | 60 |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 m_reset = true; | 302 m_reset = true; |
| 303 } | 303 } |
| 304 | 304 |
| 305 if (isHorizontal()) | 305 if (isHorizontal()) |
| 306 m_layer->scrollToXOffset(newPos); | 306 m_layer->scrollToXOffset(newPos); |
| 307 else | 307 else |
| 308 m_layer->scrollToYOffset(newPos); | 308 m_layer->scrollToYOffset(newPos); |
| 309 } | 309 } |
| 310 | 310 |
| 311 } // namespace WebCore | 311 } // namespace WebCore |
| OLD | NEW |