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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ~ScrollingCoordinator(); | 58 ~ScrollingCoordinator(); |
59 DECLARE_TRACE(); | 59 DECLARE_TRACE(); |
60 | 60 |
61 void willBeDestroyed(); | 61 void willBeDestroyed(); |
62 | 62 |
63 // Return whether this scrolling coordinator handles scrolling for the given
frame view. | 63 // Return whether this scrolling coordinator handles scrolling for the given
frame view. |
64 bool coordinatesScrollingForFrameView(FrameView*) const; | 64 bool coordinatesScrollingForFrameView(FrameView*) const; |
65 | 65 |
66 // Called when any frame has done its layout. | 66 // Called when any frame has done its layout. |
67 void notifyLayoutUpdated(); | 67 void notifyLayoutUpdated(); |
| 68 // Called when any frame recalculates its overflows after style change. |
| 69 void notifyOverflowUpdated(); |
68 | 70 |
69 void updateAfterCompositingChangeIfNeeded(); | 71 void updateAfterCompositingChangeIfNeeded(); |
70 | 72 |
71 void updateHaveWheelEventHandlers(); | 73 void updateHaveWheelEventHandlers(); |
72 void updateHaveScrollEventHandlers(); | 74 void updateHaveScrollEventHandlers(); |
73 | 75 |
74 // Should be called whenever scrollable area set changes. | 76 // Should be called whenever scrollable area set changes. |
75 void scrollableAreasDidChange(); | 77 void scrollableAreasDidChange(); |
76 | 78 |
77 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. | 79 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 ScrollbarMap m_verticalScrollbars; | 161 ScrollbarMap m_verticalScrollbars; |
160 HashSet<const DeprecatedPaintLayer*> m_layersWithTouchRects; | 162 HashSet<const DeprecatedPaintLayer*> m_layersWithTouchRects; |
161 bool m_wasFrameScrollable; | 163 bool m_wasFrameScrollable; |
162 | 164 |
163 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; | 165 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; |
164 }; | 166 }; |
165 | 167 |
166 } // namespace blink | 168 } // namespace blink |
167 | 169 |
168 #endif // ScrollingCoordinator_h | 170 #endif // ScrollingCoordinator_h |
OLD | NEW |