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 452b8434c95c8ebe8b4945d10ef2c074ffc06df9..6aac4479e34c26d164ffcf1a17dfa5f01983566c 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -263,6 +263,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() {} |
}; |