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