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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 bool coordinatesScrollingForFrameView(FrameView*) const; | 59 bool coordinatesScrollingForFrameView(FrameView*) const; |
60 | 60 |
61 // Called when any frame has done its layout. | 61 // Called when any frame has done its layout. |
62 void notifyLayoutUpdated(); | 62 void notifyLayoutUpdated(); |
63 | 63 |
64 void updateAfterCompositingChangeIfNeeded(); | 64 void updateAfterCompositingChangeIfNeeded(); |
65 | 65 |
66 void updateHaveWheelEventHandlers(); | 66 void updateHaveWheelEventHandlers(); |
67 void updateHaveScrollEventHandlers(); | 67 void updateHaveScrollEventHandlers(); |
68 | 68 |
| 69 // Should be called whenever scrollable area set changes. |
| 70 void scrollableAreasDidChange(); |
| 71 |
69 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. | 72 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. |
70 void frameViewHasSlowRepaintObjectsDidChange(FrameView*); | 73 void frameViewHasSlowRepaintObjectsDidChange(FrameView*); |
71 | 74 |
72 // Should be called whenever the set of fixed objects changes. | 75 // Should be called whenever the set of fixed objects changes. |
73 void frameViewFixedObjectsDidChange(FrameView*); | 76 void frameViewFixedObjectsDidChange(FrameView*); |
74 | 77 |
75 // Should be called whenever the root layer for the given frame view changes
. | 78 // Should be called whenever the root layer for the given frame view changes
. |
76 void frameViewRootLayerDidChange(FrameView*); | 79 void frameViewRootLayerDidChange(FrameView*); |
77 | 80 |
78 #if OS(MACOSX) | 81 #if OS(MACOSX) |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 ScrollbarMap m_verticalScrollbars; | 152 ScrollbarMap m_verticalScrollbars; |
150 HashSet<const RenderLayer*> m_layersWithTouchRects; | 153 HashSet<const RenderLayer*> m_layersWithTouchRects; |
151 bool m_wasFrameScrollable; | 154 bool m_wasFrameScrollable; |
152 | 155 |
153 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; | 156 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; |
154 }; | 157 }; |
155 | 158 |
156 } // namespace blink | 159 } // namespace blink |
157 | 160 |
158 #endif // ScrollingCoordinator_h | 161 #endif // ScrollingCoordinator_h |
OLD | NEW |