Chromium Code Reviews| 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 scroll area set changes. | |
| 70 void scrollAreaSetDidChange(); | |
|
skobes
2015/01/07 18:56:29
"scroll area" is slightly confusing, suggest scrol
majidvp
2015/01/07 19:52:28
Acknowledged.
majidvp
2015/01/12 16:28:27
Done.
| |
| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 148 ScrollbarMap m_verticalScrollbars; | 151 ScrollbarMap m_verticalScrollbars; |
| 149 HashSet<const RenderLayer*> m_layersWithTouchRects; | 152 HashSet<const RenderLayer*> m_layersWithTouchRects; |
| 150 bool m_wasFrameScrollable; | 153 bool m_wasFrameScrollable; |
| 151 | 154 |
| 152 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; | 155 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; |
| 153 }; | 156 }; |
| 154 | 157 |
| 155 } // namespace blink | 158 } // namespace blink |
| 156 | 159 |
| 157 #endif // ScrollingCoordinator_h | 160 #endif // ScrollingCoordinator_h |
| OLD | NEW |