| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 // This function will update the ScrollingStateNode for the given viewport c
onstrained object. | 83 // This function will update the ScrollingStateNode for the given viewport c
onstrained object. |
| 84 virtual void updateViewportConstrainedNode(ScrollingNodeID, const ViewportCo
nstraints&, GraphicsLayer*) OVERRIDE; | 84 virtual void updateViewportConstrainedNode(ScrollingNodeID, const ViewportCo
nstraints&, GraphicsLayer*) OVERRIDE; |
| 85 | 85 |
| 86 // Called to synch the GraphicsLayer positions for child layers when their C
ALayers have been moved by the scrolling thread. | 86 // Called to synch the GraphicsLayer positions for child layers when their C
ALayers have been moved by the scrolling thread. |
| 87 virtual void syncChildPositions(const LayoutRect& viewportRect) OVERRIDE; | 87 virtual void syncChildPositions(const LayoutRect& viewportRect) OVERRIDE; |
| 88 | 88 |
| 89 virtual void recomputeWheelEventHandlerCountForFrameView(FrameView*); | 89 virtual void recomputeWheelEventHandlerCountForFrameView(FrameView*); |
| 90 virtual void setShouldUpdateScrollLayerPositionOnMainThread(MainThreadScroll
ingReasons); | 90 virtual void setShouldUpdateScrollLayerPositionOnMainThread(MainThreadScroll
ingReasons); |
| 91 | 91 |
| 92 virtual bool hasVisibleSlowRepaintFixedObjects(FrameView*) const { return fa
lse; } | 92 virtual bool hasVisibleSlowRepaintViewportConstrainedObjects(FrameView*) con
st { return false; } |
| 93 | 93 |
| 94 void ensureRootStateNodeForFrameView(FrameView*); | 94 void ensureRootStateNodeForFrameView(FrameView*); |
| 95 ScrollingStateNode* stateNodeForID(ScrollingNodeID); | 95 ScrollingStateNode* stateNodeForID(ScrollingNodeID); |
| 96 | 96 |
| 97 struct ScrollParameters { | 97 struct ScrollParameters { |
| 98 ScrollElasticity horizontalScrollElasticity; | 98 ScrollElasticity horizontalScrollElasticity; |
| 99 ScrollElasticity verticalScrollElasticity; | 99 ScrollElasticity verticalScrollElasticity; |
| 100 | 100 |
| 101 bool hasEnabledHorizontalScrollbar; | 101 bool hasEnabledHorizontalScrollbar; |
| 102 bool hasEnabledVerticalScrollbar; | 102 bool hasEnabledVerticalScrollbar; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 129 Timer<ScrollingCoordinatorMac> m_scrollingStateTreeCommitterTimer; | 129 Timer<ScrollingCoordinatorMac> m_scrollingStateTreeCommitterTimer; |
| 130 | 130 |
| 131 HashMap<ScrollingNodeID, ScrollingStateNode*> m_stateNodeMap; | 131 HashMap<ScrollingNodeID, ScrollingStateNode*> m_stateNodeMap; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace WebCore | 134 } // namespace WebCore |
| 135 | 135 |
| 136 #endif // ENABLE(THREADED_SCROLLING) | 136 #endif // ENABLE(THREADED_SCROLLING) |
| 137 | 137 |
| 138 #endif // ScrollingCoordinatorMac_h | 138 #endif // ScrollingCoordinatorMac_h |
| OLD | NEW |