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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

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
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_child_frame.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index a574092f22652f93d1717ff5620cde6807dd82c5..2326f745a170ce62e6c2bd34a4f786fcc191d9a6 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -336,6 +336,13 @@ void RenderWidgetHostViewChildFrame::UnregisterFrameSinkId() {
}
}
+void RenderWidgetHostViewChildFrame::UpdateViewportIntersection(
+ const gfx::Rect& viewport_intersection) {
+ if (host_)
+ host_->Send(new ViewMsg_SetViewportIntersection(host_->GetRoutingID(),
+ viewport_intersection));
+}
+
void RenderWidgetHostViewChildFrame::GestureEventAck(
const blink::WebGestureEvent& event,
InputEventAckState ack_result) {
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_child_frame.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698