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 10 matching lines...) Expand all Loading... |
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef ScrollingCoordinator_h | 26 #ifndef ScrollingCoordinator_h |
27 #define ScrollingCoordinator_h | 27 #define ScrollingCoordinator_h |
28 | 28 |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
30 #include "core/paint/LayerHitTestRects.h" | 30 #include "core/paint/LayerHitTestRects.h" |
31 #include "platform/PlatformWheelEvent.h" | |
32 #include "platform/geometry/IntRect.h" | 31 #include "platform/geometry/IntRect.h" |
33 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
34 #include "platform/scroll/MainThreadScrollingReason.h" | 33 #include "platform/scroll/MainThreadScrollingReason.h" |
35 #include "platform/scroll/ScrollTypes.h" | 34 #include "platform/scroll/ScrollTypes.h" |
36 #include "wtf/Noncopyable.h" | 35 #include "wtf/Noncopyable.h" |
37 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
38 #include <memory> | 37 #include <memory> |
39 | 38 |
40 namespace blink { | 39 namespace blink { |
41 using MainThreadScrollingReasons = uint32_t; | 40 using MainThreadScrollingReasons = uint32_t; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 ScrollbarMap m_verticalScrollbars; | 177 ScrollbarMap m_verticalScrollbars; |
179 HashSet<const PaintLayer*> m_layersWithTouchRects; | 178 HashSet<const PaintLayer*> m_layersWithTouchRects; |
180 bool m_wasFrameScrollable; | 179 bool m_wasFrameScrollable; |
181 | 180 |
182 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; | 181 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; |
183 }; | 182 }; |
184 | 183 |
185 } // namespace blink | 184 } // namespace blink |
186 | 185 |
187 #endif // ScrollingCoordinator_h | 186 #endif // ScrollingCoordinator_h |
OLD | NEW |