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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: dcheng comments addressed Created 3 years, 11 months 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/WebFrameWidget.h
diff --git a/third_party/WebKit/public/web/WebFrameWidget.h b/third_party/WebKit/public/web/WebFrameWidget.h
index 4dd05097484d2ef191f66aabf2e5de29a0cea8c4..0a12dce4b6d51a4bb6145262b0e117002d97df23 100644
--- a/third_party/WebKit/public/web/WebFrameWidget.h
+++ b/third_party/WebKit/public/web/WebFrameWidget.h
@@ -112,9 +112,14 @@ class WebFrameWidget : public WebWidget {
const WebPoint& screenPoint,
WebDragOperation) = 0;
- // Notfies the WebFrameWidget that the system drag and drop operation has
+ // Notifies the WebFrameWidget that the system drag and drop operation has
// ended.
virtual void dragSourceSystemDragEnded() = 0;
+
+ // 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&) {}
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698