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

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: Fix rootMargin parsing 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 ebfc224ae38a9c19793658a19a97a4c50725b3b3..bef14cc1a4ee5a6debddd9977ee0bc2f54ddc8e3 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -741,7 +741,7 @@ private:
void setNeedsUpdateViewportIntersection();
void updateViewportIntersectionsForSubtree();
void updateViewportIntersectionIfNeeded();
- void notifyIntersectionObservers();
+ void notifyRenderThrottlingObservers();
// PaintInvalidationCapableScrollableArea
LayoutBox& boxForScrollControlPaintInvalidation() const override;
@@ -780,7 +780,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;
@@ -884,6 +884,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