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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class LocalFrame; | 45 class LocalFrame; |
46 class FrameView; | 46 class FrameView; |
47 class GraphicsLayer; | 47 class GraphicsLayer; |
48 class Page; | 48 class Page; |
49 class Region; | 49 class Region; |
50 class ScrollableArea; | 50 class ScrollableArea; |
51 class WebCompositorAnimationTimeline; | 51 class WebCompositorAnimationTimeline; |
52 | 52 |
53 class CORE_EXPORT ScrollingCoordinator final : public NoBaseWillBeGarbageCollect
edFinalized<ScrollingCoordinator> { | 53 class CORE_EXPORT ScrollingCoordinator final : public NoBaseWillBeGarbageCollect
edFinalized<ScrollingCoordinator> { |
54 WTF_MAKE_NONCOPYABLE(ScrollingCoordinator); | 54 WTF_MAKE_NONCOPYABLE(ScrollingCoordinator); |
| 55 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(ScrollingCoordinator); |
55 public: | 56 public: |
56 static PassOwnPtrWillBeRawPtr<ScrollingCoordinator> create(Page*); | 57 static PassOwnPtrWillBeRawPtr<ScrollingCoordinator> create(Page*); |
57 | 58 |
58 ~ScrollingCoordinator(); | 59 ~ScrollingCoordinator(); |
59 DECLARE_TRACE(); | 60 DECLARE_TRACE(); |
60 | 61 |
61 void willBeDestroyed(); | 62 void willBeDestroyed(); |
62 | 63 |
63 // Return whether this scrolling coordinator handles scrolling for the given
frame view. | 64 // Return whether this scrolling coordinator handles scrolling for the given
frame view. |
64 bool coordinatesScrollingForFrameView(FrameView*) const; | 65 bool coordinatesScrollingForFrameView(FrameView*) const; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 ScrollbarMap m_verticalScrollbars; | 160 ScrollbarMap m_verticalScrollbars; |
160 HashSet<const DeprecatedPaintLayer*> m_layersWithTouchRects; | 161 HashSet<const DeprecatedPaintLayer*> m_layersWithTouchRects; |
161 bool m_wasFrameScrollable; | 162 bool m_wasFrameScrollable; |
162 | 163 |
163 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; | 164 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; |
164 }; | 165 }; |
165 | 166 |
166 } // namespace blink | 167 } // namespace blink |
167 | 168 |
168 #endif // ScrollingCoordinator_h | 169 #endif // ScrollingCoordinator_h |
OLD | NEW |