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

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

Issue 1459023002: Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb it from detach method instead. Created 5 years, 1 month 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 USING_FAST_MALLOC_WILL_BE_REMOVED(ScrollingCoordinator); 55 USING_FAST_MALLOC_WILL_BE_REMOVED(ScrollingCoordinator);
56 public: 56 public:
57 static PassOwnPtrWillBeRawPtr<ScrollingCoordinator> create(Page*); 57 static PassOwnPtrWillBeRawPtr<ScrollingCoordinator> create(Page*);
58 58
59 ~ScrollingCoordinator(); 59 ~ScrollingCoordinator();
60 DECLARE_TRACE(); 60 DECLARE_TRACE();
61 61
62 void onSetMainFrame();
63 void willSwapMainFrame();
62 void willCloseLayerTreeView(); 64 void willCloseLayerTreeView();
63 void willBeDestroyed(); 65 void willBeDestroyed();
64 66
65 // Return whether this scrolling coordinator handles scrolling for the given frame view. 67 // Return whether this scrolling coordinator handles scrolling for the given frame view.
66 bool coordinatesScrollingForFrameView(FrameView*) const; 68 bool coordinatesScrollingForFrameView(FrameView*) const;
67 69
68 // Called when any frame has done its layout. 70 // Called when any frame has done its layout.
69 void notifyLayoutUpdated(); 71 void notifyLayoutUpdated();
70 // Called when any frame recalculates its overflows after style change. 72 // Called when any frame recalculates its overflows after style change.
71 void notifyOverflowUpdated(); 73 void notifyOverflowUpdated();
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 ScrollbarMap m_verticalScrollbars; 168 ScrollbarMap m_verticalScrollbars;
167 HashSet<const PaintLayer*> m_layersWithTouchRects; 169 HashSet<const PaintLayer*> m_layersWithTouchRects;
168 bool m_wasFrameScrollable; 170 bool m_wasFrameScrollable;
169 171
170 MainThreadScrollingReasons m_lastMainThreadScrollingReasons; 172 MainThreadScrollingReasons m_lastMainThreadScrollingReasons;
171 }; 173 };
172 174
173 } // namespace blink 175 } // namespace blink
174 176
175 #endif // ScrollingCoordinator_h 177 #endif // ScrollingCoordinator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698