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 7641bb139158ef0427c0c3663f457d9fd91bf560..557276bd8a06db2dc6191beed045ffdff6979e08 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -231,6 +231,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&) {} |
dcheng
2017/01/05 07:10:20
Should we add this directly on WebFrameWidget inst
kenrb
2017/01/09 19:31:20
Done.
|
+ |
protected: |
~WebWidget() {} |
}; |