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

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: Restore earlier approach + UpdateDistribution() Created 3 years, 6 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 59efca167892939fc60e02cc0a8925b1b11c5145..8920843d77fb378e236f9df7fc6970b7e28666c9 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
@@ -383,6 +383,11 @@ void RenderWidgetHostViewChildFrame::UpdateViewportIntersection(
viewport_intersection));
}
+void RenderWidgetHostViewChildFrame::SetIsInert(bool inert) {
+ if (host_)
+ host_->Send(new ViewMsg_SetIsInert(host_->GetRoutingID(), inert));
alexmos 2017/06/16 02:17:57 To me it seemed a little confusing to have the ine
kenrb 2017/06/19 19:26:22 Originally I did it this way to be consistent with
alexmos 2017/06/20 18:46:09 Would there still be a problem if we have a(b(b)),
kenrb 2017/06/22 15:33:35 When the bottom child swaps, the newly created Rem
alexmos 2017/06/22 17:09:27 Acknowledged.
+}
+
void RenderWidgetHostViewChildFrame::GestureEventAck(
const blink::WebGestureEvent& event,
InputEventAckState ack_result) {

Powered by Google App Engine
This is Rietveld 408576698