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

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 be109468cc4034d53d1e0e6df900c7172f131ec8..ee607581787f53862a26bb37a75765aafb4149c7 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,8 @@ RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame(
GetSurfaceIdNamespace(), this);
}
}
-
+ // Input for child frames are already scaled.
+ host_->set_scale_input_to_viewport(false);
kenrb 2016/01/15 20:09:12 I think that comment might not be generally true.
oshima 2016/01/15 22:24:10 Thanks for heads up. That's actually good news bec
kenrb 2016/01/20 21:43:10 For most of this code I would defer to wjmaclean,
host_->SetView(this);
}

Powered by Google App Engine
This is Rietveld 408576698