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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserver.h

Issue 2511143006: Detect change on the intersection of video and viewport. (Closed)
Patch Set: Rebase again. Created 4 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/dom/IntersectionObserver.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.h b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
index 3281fcea96352ef256fc00bd74383250e40b02ac..cb3913595144df13c8ef9e14cccd5fa577744997 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
@@ -19,7 +19,6 @@ namespace blink {
class Document;
class Element;
class ExceptionState;
-class LayoutObject;
class IntersectionObserverCallback;
class IntersectionObserverInit;
@@ -64,14 +63,12 @@ class CORE_EXPORT IntersectionObserver final
const Vector<float>& thresholds() const { return m_thresholds; }
Node* rootNode() const { return m_root.get(); }
- LayoutObject* rootLayoutObject() const;
const Length& topMargin() const { return m_topMargin; }
const Length& rightMargin() const { return m_rightMargin; }
const Length& bottomMargin() const { return m_bottomMargin; }
const Length& leftMargin() const { return m_leftMargin; }
void computeIntersectionObservations();
void enqueueIntersectionObserverEntry(IntersectionObserverEntry&);
- void applyRootMargin(LayoutRect&) const;
unsigned firstThresholdGreaterThan(float ratio) const;
void deliver();
void removeObservation(IntersectionObservation&);

Powered by Google App Engine
This is Rietveld 408576698