| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 OBJC_CLASS BlinkScrollbarPainterControllerDelegate; | 38 OBJC_CLASS BlinkScrollbarPainterControllerDelegate; |
| 39 OBJC_CLASS BlinkScrollbarPainterDelegate; | 39 OBJC_CLASS BlinkScrollbarPainterDelegate; |
| 40 | 40 |
| 41 typedef id ScrollbarPainterController; | 41 typedef id ScrollbarPainterController; |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class Scrollbar; | 45 class Scrollbar; |
| 46 | 46 |
| 47 class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimatorBase { | 47 class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimatorBase { |
| 48 WILL_BE_USING_PRE_FINALIZER(ScrollAnimatorMac, dispose); | 48 USING_PRE_FINALIZER(ScrollAnimatorMac, dispose); |
| 49 public: | 49 public: |
| 50 ScrollAnimatorMac(ScrollableArea*); | 50 ScrollAnimatorMac(ScrollableArea*); |
| 51 ~ScrollAnimatorMac() override; | 51 ~ScrollAnimatorMac() override; |
| 52 | 52 |
| 53 void dispose() override; | 53 void dispose() override; |
| 54 | 54 |
| 55 void immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition)
; | 55 void immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition)
; |
| 56 bool haveScrolledSincePageLoad() const { return m_haveScrolledSincePageLoad;
} | 56 bool haveScrolledSincePageLoad() const { return m_haveScrolledSincePageLoad;
} |
| 57 | 57 |
| 58 void updateScrollerStyle(); | 58 void updateScrollerStyle(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void immediateScrollTo(const FloatPoint&); | 128 void immediateScrollTo(const FloatPoint&); |
| 129 | 129 |
| 130 bool m_haveScrolledSincePageLoad; | 130 bool m_haveScrolledSincePageLoad; |
| 131 bool m_needsScrollerStyleUpdate; | 131 bool m_needsScrollerStyleUpdate; |
| 132 IntRect m_visibleScrollerThumbRect; | 132 IntRect m_visibleScrollerThumbRect; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace blink | 135 } // namespace blink |
| 136 | 136 |
| 137 #endif // ScrollAnimatorMac_h | 137 #endif // ScrollAnimatorMac_h |
| OLD | NEW |