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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrameView.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/Source/core/frame/RemoteFrameView.h
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrameView.h b/third_party/WebKit/Source/core/frame/RemoteFrameView.h
index 6f243f464f7c5972a4f090b18bb926f7df80110f..c117abb58970d6949410abd4d7cfbf528499faf4 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrameView.h
+++ b/third_party/WebKit/Source/core/frame/RemoteFrameView.h
@@ -28,14 +28,10 @@ class RemoteFrameView final : public Widget {
}
void dispose() override;
-
// Override to notify remote frame that its viewport size has changed.
void frameRectsChanged() override;
-
void invalidateRect(const IntRect&) override;
-
void setFrameRect(const IntRect&) override;
-
void hide() override;
void show() override;
void setParentVisible(bool) override;
@@ -45,11 +41,15 @@ class RemoteFrameView final : public Widget {
private:
explicit RemoteFrameView(RemoteFrame*);
+ void updateRemoteViewportIntersection();
+
// The properties and handling of the cycle between RemoteFrame
// and its RemoteFrameView corresponds to that between LocalFrame
// and FrameView. Please see the FrameView::m_frame comment for
// details.
Member<RemoteFrame> m_remoteFrame;
+
+ IntRect m_lastViewportIntersection;
};
DEFINE_TYPE_CASTS(RemoteFrameView,
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrameClient.h ('k') | third_party/WebKit/Source/core/frame/RemoteFrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698