| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 void didEndScrollGesture() const; | 110 void didEndScrollGesture() const; |
| 111 void mayBeginScrollGesture() const; | 111 void mayBeginScrollGesture() const; |
| 112 | 112 |
| 113 void finishCurrentScrollAnimations() override; | 113 void finishCurrentScrollAnimations() override; |
| 114 | 114 |
| 115 void didAddVerticalScrollbar(Scrollbar&) override; | 115 void didAddVerticalScrollbar(Scrollbar&) override; |
| 116 void willRemoveVerticalScrollbar(Scrollbar&) override; | 116 void willRemoveVerticalScrollbar(Scrollbar&) override; |
| 117 void didAddHorizontalScrollbar(Scrollbar&) override; | 117 void didAddHorizontalScrollbar(Scrollbar&) override; |
| 118 void willRemoveHorizontalScrollbar(Scrollbar&) override; | 118 void willRemoveHorizontalScrollbar(Scrollbar&) override; |
| 119 | 119 |
| 120 bool shouldScrollbarParticipateInHitTesting(Scrollbar&) override; | |
| 121 | |
| 122 void notifyContentAreaScrolled(const ScrollOffset& delta) override; | 120 void notifyContentAreaScrolled(const ScrollOffset& delta) override; |
| 123 | 121 |
| 124 bool setScrollbarsVisibleForTesting(bool) override; | 122 bool setScrollbarsVisibleForTesting(bool) override; |
| 125 | 123 |
| 126 ScrollOffset adjustScrollOffsetIfNecessary(const ScrollOffset&) const; | 124 ScrollOffset adjustScrollOffsetIfNecessary(const ScrollOffset&) const; |
| 127 | 125 |
| 128 void immediateScrollTo(const ScrollOffset&); | 126 void immediateScrollTo(const ScrollOffset&); |
| 129 | 127 |
| 130 bool m_haveScrolledSincePageLoad; | 128 bool m_haveScrolledSincePageLoad; |
| 131 bool m_needsScrollerStyleUpdate; | 129 bool m_needsScrollerStyleUpdate; |
| 132 IntRect m_visibleScrollerThumbRect; | 130 IntRect m_visibleScrollerThumbRect; |
| 133 }; | 131 }; |
| 134 | 132 |
| 135 } // namespace blink | 133 } // namespace blink |
| 136 | 134 |
| 137 #endif // ScrollAnimatorMac_h | 135 #endif // ScrollAnimatorMac_h |
| OLD | NEW |