| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 Timer<ScrollAnimatorMac> m_initialScrollbarPaintTimer; | 82 Timer<ScrollAnimatorMac> m_initialScrollbarPaintTimer; |
| 83 | 83 |
| 84 void sendContentAreaScrolledTimerFired(Timer<ScrollAnimatorMac>*); | 84 void sendContentAreaScrolledTimerFired(Timer<ScrollAnimatorMac>*); |
| 85 Timer<ScrollAnimatorMac> m_sendContentAreaScrolledTimer; | 85 Timer<ScrollAnimatorMac> m_sendContentAreaScrolledTimer; |
| 86 FloatSize m_contentAreaScrolledTimerScrollDelta; | 86 FloatSize m_contentAreaScrolledTimerScrollDelta; |
| 87 | 87 |
| 88 virtual bool scroll(ScrollbarOrientation, ScrollGranularity, float step, flo
at delta) OVERRIDE; | 88 virtual bool scroll(ScrollbarOrientation, ScrollGranularity, float step, flo
at delta) OVERRIDE; |
| 89 virtual void scrollToOffsetWithoutAnimation(const FloatPoint&) OVERRIDE; | 89 virtual void scrollToOffsetWithoutAnimation(const FloatPoint&) OVERRIDE; |
| 90 | 90 |
| 91 #if USE(RUBBER_BANDING) | 91 #if USE(RUBBER_BANDING) |
| 92 virtual bool handleWheelEvent(const PlatformWheelEvent&) OVERRIDE; | 92 virtual bool handleWheelEvent(const PlatformWheelEvent&, bool canRubberbandL
eft, bool canRubberbandRight) OVERRIDE; |
| 93 #endif | 93 #endif |
| 94 | 94 |
| 95 virtual void handleWheelEventPhase(PlatformWheelEventPhase) OVERRIDE; | 95 virtual void handleWheelEventPhase(PlatformWheelEventPhase) OVERRIDE; |
| 96 | 96 |
| 97 virtual void cancelAnimations() OVERRIDE; | 97 virtual void cancelAnimations() OVERRIDE; |
| 98 virtual void setIsActive() OVERRIDE; | 98 virtual void setIsActive() OVERRIDE; |
| 99 | 99 |
| 100 virtual void notifyPositionChanged(const FloatSize& delta) OVERRIDE; | 100 virtual void notifyPositionChanged(const FloatSize& delta) OVERRIDE; |
| 101 virtual void contentAreaWillPaint() const OVERRIDE; | 101 virtual void contentAreaWillPaint() const OVERRIDE; |
| 102 virtual void mouseEnteredContentArea() const OVERRIDE; | 102 virtual void mouseEnteredContentArea() const OVERRIDE; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 #endif | 153 #endif |
| 154 | 154 |
| 155 bool m_haveScrolledSincePageLoad; | 155 bool m_haveScrolledSincePageLoad; |
| 156 bool m_needsScrollerStyleUpdate; | 156 bool m_needsScrollerStyleUpdate; |
| 157 IntRect m_visibleScrollerThumbRect; | 157 IntRect m_visibleScrollerThumbRect; |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace WebCore | 160 } // namespace WebCore |
| 161 | 161 |
| 162 #endif // ScrollAnimatorMac_h | 162 #endif // ScrollAnimatorMac_h |
| OLD | NEW |