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

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

Issue 1586923002: [UseZoomForDSF] Guest view support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 e8d384e723357b82d591899957195371b596131e..be4639b367df62ab9c609fa278429573951af27d 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
@@ -48,7 +48,9 @@ RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame(
GetSurfaceIdNamespace(), this);
}
}
-
+ // Input for child frames are already scaled.
+ // TODO(oshima): This should be true for OOPIF.
+ host_->set_scale_input_to_viewport(false);
wjmaclean 2016/01/20 19:41:54 If it should be true for OOPIF, can't we just do
oshima 2016/01/20 21:38:49 I looked into more, and I think we can just move t
host_->SetView(this);
}

Powered by Google App Engine
This is Rietveld 408576698