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 "HTMLNames.h" | 49 #include "core/HTMLNames.h" |
50 #include "core/html/HTMLMarqueeElement.h" | 50 #include "core/html/HTMLMarqueeElement.h" |
51 #include "core/frame/FrameView.h" | 51 #include "core/frame/FrameView.h" |
52 #include "core/frame/UseCounter.h" | 52 #include "core/frame/UseCounter.h" |
53 #include "core/rendering/RenderLayer.h" | 53 #include "core/rendering/RenderLayer.h" |
54 #include "core/rendering/RenderView.h" | 54 #include "core/rendering/RenderView.h" |
55 #include "platform/LengthFunctions.h" | 55 #include "platform/LengthFunctions.h" |
56 | 56 |
57 using namespace std; | 57 using namespace std; |
58 | 58 |
59 namespace WebCore { | 59 namespace WebCore { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 m_reset = true; | 320 m_reset = true; |
321 } | 321 } |
322 | 322 |
323 if (isHorizontal()) | 323 if (isHorizontal()) |
324 layer()->scrollableArea()->scrollToXOffset(newPos); | 324 layer()->scrollableArea()->scrollToXOffset(newPos); |
325 else | 325 else |
326 layer()->scrollableArea()->scrollToYOffset(newPos); | 326 layer()->scrollableArea()->scrollToYOffset(newPos); |
327 } | 327 } |
328 | 328 |
329 } // namespace WebCore | 329 } // namespace WebCore |
OLD | NEW |