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

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: Clarify the tear-down path for observers and observations. 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 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 e704eaa21c4607bb040c4ae73f7b9a160c742869..4e8ece5ee0efa1b511b8d4012b406013a57cfb6a 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -742,7 +742,7 @@ private:
void setNeedsUpdateViewportIntersection();
void updateViewportIntersectionsForSubtree();
void updateViewportIntersectionIfNeeded();
- void notifyIntersectionObservers();
+ void notifyRenderThrottlingObservers();
LayoutSize m_size;
@@ -777,7 +777,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;
@@ -881,6 +881,7 @@ private:
// +---[ scrollTranslation ] Frame scrolling. This is going away in favor of Settings::rootLayerScrolls.
RefPtr<TransformPaintPropertyNode> m_preTranslation;
RefPtr<TransformPaintPropertyNode> m_scrollTranslation;
+
};
inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count)

Powered by Google App Engine
This is Rietveld 408576698