OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Return whether this scrolling coordinator handles scrolling for the given
frame view. | 69 // Return whether this scrolling coordinator handles scrolling for the given
frame view. |
70 bool coordinatesScrollingForFrameView(FrameView*) const; | 70 bool coordinatesScrollingForFrameView(FrameView*) const; |
71 | 71 |
72 // Called when any frame has done its layout or compositing has changed. | 72 // Called when any frame has done its layout or compositing has changed. |
73 void notifyGeometryChanged(); | 73 void notifyGeometryChanged(); |
74 // Called when any frame recalculates its overflows after style change. | 74 // Called when any frame recalculates its overflows after style change. |
75 void notifyOverflowUpdated(); | 75 void notifyOverflowUpdated(); |
76 | 76 |
77 void updateAfterCompositingChangeIfNeeded(); | 77 void updateAfterCompositingChangeIfNeeded(); |
78 | 78 |
79 void updateHaveWheelEventHandlers(); | |
80 void updateHaveScrollEventHandlers(); | 79 void updateHaveScrollEventHandlers(); |
81 | 80 |
82 // Should be called whenever a scrollable area is added or removed, or gains
/loses a composited layer. | 81 // Should be called whenever a scrollable area is added or removed, or gains
/loses a composited layer. |
83 void scrollableAreasDidChange(); | 82 void scrollableAreasDidChange(); |
84 | 83 |
85 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. | 84 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. |
86 void frameViewHasBackgroundAttachmentFixedObjectsDidChange(FrameView*); | 85 void frameViewHasBackgroundAttachmentFixedObjectsDidChange(FrameView*); |
87 | 86 |
88 // Should be called whenever the set of fixed objects changes. | 87 // Should be called whenever the set of fixed objects changes. |
89 void frameViewFixedObjectsDidChange(FrameView*); | 88 void frameViewFixedObjectsDidChange(FrameView*); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 ScrollbarMap m_verticalScrollbars; | 160 ScrollbarMap m_verticalScrollbars; |
162 HashSet<const PaintLayer*> m_layersWithTouchRects; | 161 HashSet<const PaintLayer*> m_layersWithTouchRects; |
163 bool m_wasFrameScrollable; | 162 bool m_wasFrameScrollable; |
164 | 163 |
165 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; | 164 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; |
166 }; | 165 }; |
167 | 166 |
168 } // namespace blink | 167 } // namespace blink |
169 | 168 |
170 #endif // ScrollingCoordinator_h | 169 #endif // ScrollingCoordinator_h |
OLD | NEW |