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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Fixed test issue Created 4 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/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index f5733a90c9863dfec5e3a37dc65adebf98e7e5c1..be3a191ae02e990aecc6d23063aa5c2fdd1f96a8 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -232,6 +232,11 @@ class WebWidget {
// replaced.
virtual void applyReplacementRange(const WebRange&) {}
+ // Constrains the viewport intersection for use by IntersectionObserver.
+ // This is needed for out-of-process iframes to know if they are clipped
+ // by ancestor frames in another process.
+ virtual void setRemoteViewportIntersection(const WebRect&) {}
+
protected:
~WebWidget() {}
};

Powered by Google App Engine
This is Rietveld 408576698