| 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 29 matching lines...) Expand all Loading... |
| 40 OBJC_CLASS BlinkScrollbarPainterControllerDelegate; | 40 OBJC_CLASS BlinkScrollbarPainterControllerDelegate; |
| 41 OBJC_CLASS BlinkScrollbarPainterDelegate; | 41 OBJC_CLASS BlinkScrollbarPainterDelegate; |
| 42 | 42 |
| 43 typedef id ScrollbarPainterController; | 43 typedef id ScrollbarPainterController; |
| 44 | 44 |
| 45 namespace blink { | 45 namespace blink { |
| 46 | 46 |
| 47 class Scrollbar; | 47 class Scrollbar; |
| 48 | 48 |
| 49 class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimatorBase { | 49 class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimatorBase { |
| 50 WILL_BE_USING_PRE_FINALIZER(ScrollAnimatorMac, dispose); | 50 USING_PRE_FINALIZER(ScrollAnimatorMac, dispose); |
| 51 public: | 51 public: |
| 52 ScrollAnimatorMac(ScrollableArea*); | 52 ScrollAnimatorMac(ScrollableArea*); |
| 53 ~ScrollAnimatorMac() override; | 53 ~ScrollAnimatorMac() override; |
| 54 | 54 |
| 55 void dispose() override; | 55 void dispose() override; |
| 56 | 56 |
| 57 void immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition)
; | 57 void immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition)
; |
| 58 bool haveScrolledSincePageLoad() const { return m_haveScrolledSincePageLoad;
} | 58 bool haveScrolledSincePageLoad() const { return m_haveScrolledSincePageLoad;
} |
| 59 | 59 |
| 60 void updateScrollerStyle(); | 60 void updateScrollerStyle(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 void immediateScrollTo(const FloatPoint&); | 127 void immediateScrollTo(const FloatPoint&); |
| 128 | 128 |
| 129 bool m_haveScrolledSincePageLoad; | 129 bool m_haveScrolledSincePageLoad; |
| 130 bool m_needsScrollerStyleUpdate; | 130 bool m_needsScrollerStyleUpdate; |
| 131 IntRect m_visibleScrollerThumbRect; | 131 IntRect m_visibleScrollerThumbRect; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace blink | 134 } // namespace blink |
| 135 | 135 |
| 136 #endif // ScrollAnimatorMac_h | 136 #endif // ScrollAnimatorMac_h |
| OLD | NEW |