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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Enabled test, fixed bugs 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/Source/web/RemoteFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
index 87ab8799582f5ba41f2383d11fe79c4c157f32f4..047d97fcad3bdeb587ae8d811b27a0128137810f 100644
--- a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
@@ -12,6 +12,7 @@
#include "core/layout/LayoutPart.h"
#include "core/layout/api/LayoutItem.h"
#include "platform/exported/WrappedResourceRequest.h"
+#include "platform/geometry/IntRect.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "platform/weborigin/SecurityPolicy.h"
#include "public/web/WebRemoteFrameClient.h"
@@ -182,6 +183,11 @@ void RemoteFrameClientImpl::frameRectsChanged(const IntRect& frameRect) {
m_webFrame->client()->frameRectsChanged(frameRect);
}
+void RemoteFrameClientImpl::updateRemoteViewportIntersection(
+ const IntRect& viewportIntersection) {
+ m_webFrame->client()->updateRemoteViewportIntersection(viewportIntersection);
+}
+
void RemoteFrameClientImpl::advanceFocus(WebFocusType type,
LocalFrame* source) {
m_webFrame->client()->advanceFocus(type,

Powered by Google App Engine
This is Rietveld 408576698