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

Unified Diff: content/common/frame_messages.h

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: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 118060d8529d34bba51cd4220d5c7555b9ebba48..667dbeee9e3617750e15bc69a82bbff03546bcb6 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -1281,6 +1281,12 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent,
// position of a child's ancestor has changed).
IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */)
+// Sent by a parent frame to update its child's viewport intersection rect for
+// use by the IntersectionObserver API.
+IPC_MESSAGE_ROUTED2(FrameHostMsg_UpdateViewportIntersection,
+ gfx::Rect /* viewport_intersection */,
+ gfx::Point /* root_offset */)
+
// Informs the child that the frame has changed visibility.
IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)

Powered by Google App Engine
This is Rietveld 408576698