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

Unified 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: Check if m_page is null in WebPagePopupImpl. Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
index 6e3921c480226e68bf523c712ba3fec7ccfc376e..d18201e25fd0635fab79008a56d4735fa9825bfd 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -49,6 +49,7 @@ class Page;
class Region;
class ScrollableArea;
class WebCompositorAnimationTimeline;
+class WebLayerTreeView;
class CORE_EXPORT ScrollingCoordinator final : public NoBaseWillBeGarbageCollectedFinalized<ScrollingCoordinator> {
WTF_MAKE_NONCOPYABLE(ScrollingCoordinator);
@@ -59,7 +60,9 @@ public:
~ScrollingCoordinator();
DECLARE_TRACE();
- void willCloseLayerTreeView();
+ void layerTreeViewInitialized(WebLayerTreeView&);
+ void willCloseLayerTreeView(WebLayerTreeView&);
+
void willBeDestroyed();
// Return whether this scrolling coordinator handles scrolling for the given frame view.
@@ -156,9 +159,6 @@ private:
bool frameViewIsDirty() const;
- void createProgrammaticScrollAnimatorTimeline();
- void destroyProgrammaticScrollAnimatorTimeline();
-
OwnPtr<WebCompositorAnimationTimeline> m_programmaticScrollAnimatorTimeline;
using ScrollbarMap = WillBeHeapHashMap<RawPtrWillBeMember<ScrollableArea>, OwnPtr<WebScrollbarLayer>>;
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698