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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Created 4 years, 2 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/Source/web/RemoteFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
index 747dc3f2578f2a4b43139d52301b68225d5cb12b..9bfeff54360fbffe32af21eb25a409485c76948d 100644
--- a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
@@ -12,6 +12,8 @@
#include "core/layout/LayoutPart.h"
#include "core/layout/api/LayoutItem.h"
#include "platform/exported/WrappedResourceRequest.h"
+#include "platform/geometry/IntPoint.h"
+#include "platform/geometry/IntRect.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "platform/weborigin/SecurityPolicy.h"
#include "public/web/WebRemoteFrameClient.h"
@@ -182,6 +184,13 @@ void RemoteFrameClientImpl::frameRectsChanged(const IntRect& frameRect) {
m_webFrame->client()->frameRectsChanged(frameRect);
}
+void RemoteFrameClientImpl::updateRemoteViewportIntersection(
+ const IntRect& viewportIntersection,
+ const IntPoint& rootOffset) {
+ m_webFrame->client()->updateRemoteViewportIntersection(viewportIntersection,
+ rootOffset);
+}
+
void RemoteFrameClientImpl::advanceFocus(WebFocusType type,
LocalFrame* source) {
m_webFrame->client()->advanceFocus(type,

Powered by Google App Engine
This is Rietveld 408576698