Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Side by Side Diff: Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.h

Issue 11970041: Merge 139461 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698