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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 void handleWheelEventPhase(PlatformWheelEventPhase) override; | 94 void handleWheelEventPhase(PlatformWheelEventPhase) override; |
95 | 95 |
96 void cancelAnimations() override; | 96 void cancelAnimations() override; |
97 void setIsActive() override; | 97 void setIsActive() override; |
98 | 98 |
99 void contentAreaWillPaint() const override; | 99 void contentAreaWillPaint() const override; |
100 void mouseEnteredContentArea() const override; | 100 void mouseEnteredContentArea() const override; |
101 void mouseExitedContentArea() const override; | 101 void mouseExitedContentArea() const override; |
102 void mouseMovedInContentArea() const override; | 102 void mouseMovedInContentArea() const override; |
103 void mouseEnteredScrollbar(Scrollbar*) const override; | 103 void mouseEnteredScrollbar(Scrollbar&) const override; |
104 void mouseExitedScrollbar(Scrollbar*) const override; | 104 void mouseExitedScrollbar(Scrollbar&) const override; |
105 void willStartLiveResize() override; | 105 void willStartLiveResize() override; |
106 void contentsResized() const override; | 106 void contentsResized() const override; |
107 void willEndLiveResize() override; | 107 void willEndLiveResize() override; |
108 void contentAreaDidShow() const override; | 108 void contentAreaDidShow() const override; |
109 void contentAreaDidHide() const override; | 109 void contentAreaDidHide() const override; |
110 void didBeginScrollGesture() const; | 110 void didBeginScrollGesture() const; |
111 void didEndScrollGesture() const; | 111 void didEndScrollGesture() const; |
112 void mayBeginScrollGesture() const; | 112 void mayBeginScrollGesture() const; |
113 | 113 |
114 void finishCurrentScrollAnimations() override; | 114 void finishCurrentScrollAnimations() override; |
115 | 115 |
116 void didAddVerticalScrollbar(Scrollbar*) override; | 116 void didAddVerticalScrollbar(Scrollbar&) override; |
117 void willRemoveVerticalScrollbar(Scrollbar*) override; | 117 void willRemoveVerticalScrollbar(Scrollbar&) override; |
118 void didAddHorizontalScrollbar(Scrollbar*) override; | 118 void didAddHorizontalScrollbar(Scrollbar&) override; |
119 void willRemoveHorizontalScrollbar(Scrollbar*) override; | 119 void willRemoveHorizontalScrollbar(Scrollbar&) override; |
120 | 120 |
121 bool shouldScrollbarParticipateInHitTesting(Scrollbar*) override; | 121 bool shouldScrollbarParticipateInHitTesting(Scrollbar&) override; |
122 | 122 |
123 void notifyContentAreaScrolled(const FloatSize& delta) override; | 123 void notifyContentAreaScrolled(const FloatSize& delta) override; |
124 | 124 |
125 bool setScrollbarsVisibleForTesting(bool) override; | 125 bool setScrollbarsVisibleForTesting(bool) override; |
126 | 126 |
127 FloatPoint adjustScrollPositionIfNecessary(const FloatPoint&) const; | 127 FloatPoint adjustScrollPositionIfNecessary(const FloatPoint&) const; |
128 | 128 |
129 void immediateScrollTo(const FloatPoint&); | 129 void immediateScrollTo(const FloatPoint&); |
130 | 130 |
131 bool m_haveScrolledSincePageLoad; | 131 bool m_haveScrolledSincePageLoad; |
132 bool m_needsScrollerStyleUpdate; | 132 bool m_needsScrollerStyleUpdate; |
133 IntRect m_visibleScrollerThumbRect; | 133 IntRect m_visibleScrollerThumbRect; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace blink | 136 } // namespace blink |
137 | 137 |
138 #endif // ScrollAnimatorMac_h | 138 #endif // ScrollAnimatorMac_h |
OLD | NEW |