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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 1449623002: IntersectionObserver: second cut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Added dispose() methods for expicit cleanup 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/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index adcc338895dd9fc8dce6559a34760cc37c58926f..efe07dab9451f92564b7db03266e814d60cc8cd0 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -745,9 +745,9 @@ private:
template <typename Function> void forAllNonThrottledFrameViews(Function);
void setNeedsUpdateViewportIntersection();
- void updateViewportIntersectionsForSubtree();
+ void updateViewportIntersectionsForSubtree(LifeCycleUpdateOption);
void updateViewportIntersectionIfNeeded();
- void notifyIntersectionObservers();
+ void notifyRenderThrottlingObservers();
// PaintInvalidationCapableScrollableArea
LayoutBox& boxForScrollControlPaintInvalidation() const override;
@@ -786,7 +786,7 @@ private:
unsigned m_nestedLayoutCount;
Timer<FrameView> m_postLayoutTasksTimer;
Timer<FrameView> m_updateWidgetsTimer;
- OwnPtr<CancellableTaskFactory> m_intersectionObserverNotificationFactory;
+ OwnPtr<CancellableTaskFactory> m_renderThrottlingObserverNotificationFactory;
bool m_firstLayout;
bool m_isTransparent;

Powered by Google App Engine
This is Rietveld 408576698