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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Rebase only Created 3 years, 7 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/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 2b1a3292c4b6518e6fb4a241d6c1d3e969df708f..ef7215200c082e4a86c687e98f26bd8ff2eed00f 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
@@ -328,6 +328,11 @@ void RenderWidgetHostViewChildFrame::UpdateViewportIntersection(
viewport_intersection));
}
+void RenderWidgetHostViewChildFrame::SetIsInert(bool inert) {
+ if (host_)
+ host_->Send(new ViewMsg_SetIsInert(host_->GetRoutingID(), inert));
+}
+
void RenderWidgetHostViewChildFrame::GestureEventAck(
const blink::WebGestureEvent& event,
InputEventAckState ack_result) {

Powered by Google App Engine
This is Rietveld 408576698