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

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

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line Created 4 years, 10 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) 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
69 // Return whether this scrolling coordinator handles scrolling for the given frame view. 69 // Return whether this scrolling coordinator handles scrolling for the given frame view.
70 bool coordinatesScrollingForFrameView(FrameView*) const; 70 bool coordinatesScrollingForFrameView(FrameView*) const;
71 71
72 // Called when any frame has done its layout or compositing has changed. 72 // Called when any frame has done its layout or compositing has changed.
73 void notifyGeometryChanged(); 73 void notifyGeometryChanged();
74 // Called when any frame recalculates its overflows after style change. 74 // Called when any frame recalculates its overflows after style change.
75 void notifyOverflowUpdated(); 75 void notifyOverflowUpdated();
76 76
77 void updateAfterCompositingChangeIfNeeded(); 77 void updateAfterCompositingChangeIfNeeded();
78 78
79 void updateHaveWheelEventHandlers();
80 void updateHaveScrollEventHandlers(); 79 void updateHaveScrollEventHandlers();
81 80
82 // Should be called whenever a scrollable area is added or removed, or gains /loses a composited layer. 81 // Should be called whenever a scrollable area is added or removed, or gains /loses a composited layer.
83 void scrollableAreasDidChange(); 82 void scrollableAreasDidChange();
84 83
85 // Should be called whenever the slow repaint objects counter changes betwee n zero and one. 84 // Should be called whenever the slow repaint objects counter changes betwee n zero and one.
86 void frameViewHasBackgroundAttachmentFixedObjectsDidChange(FrameView*); 85 void frameViewHasBackgroundAttachmentFixedObjectsDidChange(FrameView*);
87 86
88 // Should be called whenever the set of fixed objects changes. 87 // Should be called whenever the set of fixed objects changes.
89 void frameViewFixedObjectsDidChange(FrameView*); 88 void frameViewFixedObjectsDidChange(FrameView*);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 ScrollbarMap m_verticalScrollbars; 160 ScrollbarMap m_verticalScrollbars;
162 HashSet<const PaintLayer*> m_layersWithTouchRects; 161 HashSet<const PaintLayer*> m_layersWithTouchRects;
163 bool m_wasFrameScrollable; 162 bool m_wasFrameScrollable;
164 163
165 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; 164 MainThreadScrollingReasons m_lastMainThreadScrollingReasons;
166 }; 165 };
167 166
168 } // namespace blink 167 } // namespace blink
169 168
170 #endif // ScrollingCoordinator_h 169 #endif // ScrollingCoordinator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698