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

Side by Side Diff: Source/core/page/scrolling/ScrollingCoordinator.h

Issue 241643006: Remove more dead code from core/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/PrintContext.cpp ('k') | Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // For testing purposes only. This ScrollingCoordinator is reused between la yout test, and must be reset 118 // For testing purposes only. This ScrollingCoordinator is reused between la yout test, and must be reset
119 // for the results to be valid. 119 // for the results to be valid.
120 void reset(); 120 void reset();
121 121
122 protected: 122 protected:
123 explicit ScrollingCoordinator(Page*); 123 explicit ScrollingCoordinator(Page*);
124 124
125 bool isForMainFrame(ScrollableArea*) const; 125 bool isForMainFrame(ScrollableArea*) const;
126 126
127 GraphicsLayer* scrollLayerForFrameView(FrameView*);
128 GraphicsLayer* counterScrollingLayerForFrameView(FrameView*);
129
130 Page* m_page; 127 Page* m_page;
131 128
132 // Dirty flags used to idenfity what really needs to be computed after compo siting is updated. 129 // Dirty flags used to idenfity what really needs to be computed after compo siting is updated.
133 bool m_scrollGestureRegionIsDirty; 130 bool m_scrollGestureRegionIsDirty;
134 bool m_touchEventTargetRectsAreDirty; 131 bool m_touchEventTargetRectsAreDirty;
135 bool m_shouldScrollOnMainThreadDirty; 132 bool m_shouldScrollOnMainThreadDirty;
136 133
137 private: 134 private:
138 void setShouldUpdateScrollLayerPositionOnMainThread(MainThreadScrollingReaso ns); 135 void setShouldUpdateScrollLayerPositionOnMainThread(MainThreadScrollingReaso ns);
139 136
(...skipping 16 matching lines...) Expand all
156 HashSet<const RenderLayer*> m_layersWithTouchRects; 153 HashSet<const RenderLayer*> m_layersWithTouchRects;
157 bool m_wasFrameScrollable; 154 bool m_wasFrameScrollable;
158 155
159 // This is retained for testing. 156 // This is retained for testing.
160 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; 157 MainThreadScrollingReasons m_lastMainThreadScrollingReasons;
161 }; 158 };
162 159
163 } // namespace WebCore 160 } // namespace WebCore
164 161
165 #endif // ScrollingCoordinator_h 162 #endif // ScrollingCoordinator_h
OLDNEW
« no previous file with comments | « Source/core/page/PrintContext.cpp ('k') | Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698