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 | 69 |
70 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. | 70 // Should be called whenever the slow repaint objects counter changes betwee
n zero and one. |
71 void frameViewHasSlowRepaintObjectsDidChange(FrameView*); | 71 void frameViewHasSlowRepaintObjectsDidChange(FrameView*); |
72 | 72 |
73 // Should be called whenever the set of fixed objects changes. | 73 // Should be called whenever the set of fixed objects changes. |
74 void frameViewFixedObjectsDidChange(FrameView*); | 74 void frameViewFixedObjectsDidChange(FrameView*); |
75 | 75 |
76 // Should be called whenever the root layer for the given frame view changes
. | 76 // Should be called whenever the root layer for the given frame view changes
. |
77 void frameViewRootLayerDidChange(FrameView*); | 77 void frameViewRootLayerDidChange(FrameView*); |
78 | 78 |
79 #if OS(DARWIN) | 79 #if OS(MACOSX) |
80 // Dispatched by the scrolling tree during handleWheelEvent. This is require
d as long as scrollbars are painted on the main thread. | 80 // Dispatched by the scrolling tree during handleWheelEvent. This is require
d as long as scrollbars are painted on the main thread. |
81 void handleWheelEventPhase(PlatformWheelEventPhase); | 81 void handleWheelEventPhase(PlatformWheelEventPhase); |
82 #endif | 82 #endif |
83 | 83 |
84 enum MainThreadScrollingReasonFlags { | 84 enum MainThreadScrollingReasonFlags { |
85 HasSlowRepaintObjects = 1 << 0, | 85 HasSlowRepaintObjects = 1 << 0, |
86 HasViewportConstrainedObjectsWithoutSupportingFixedLayers = 1 << 1, | 86 HasViewportConstrainedObjectsWithoutSupportingFixedLayers = 1 << 1, |
87 HasNonLayerViewportConstrainedObjects = 1 << 2, | 87 HasNonLayerViewportConstrainedObjects = 1 << 2, |
88 }; | 88 }; |
89 | 89 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 typedef HashMap<ScrollableArea*, OwnPtr<WebKit::WebScrollbarLayer> > Scrollb
arMap; | 142 typedef HashMap<ScrollableArea*, OwnPtr<WebKit::WebScrollbarLayer> > Scrollb
arMap; |
143 ScrollbarMap m_horizontalScrollbars; | 143 ScrollbarMap m_horizontalScrollbars; |
144 ScrollbarMap m_verticalScrollbars; | 144 ScrollbarMap m_verticalScrollbars; |
145 HashSet<const RenderLayer*> m_layersWithTouchRects; | 145 HashSet<const RenderLayer*> m_layersWithTouchRects; |
146 }; | 146 }; |
147 | 147 |
148 } // namespace WebCore | 148 } // namespace WebCore |
149 | 149 |
150 #endif // ScrollingCoordinator_h | 150 #endif // ScrollingCoordinator_h |
OLD | NEW |