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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2439543003: Do not use overlays when VR shell is enabled. (Closed)
Patch Set: Created 4 years, 2 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/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 0051c60bb5d303143edf46a6fd0e9e34e90edd2b..c2ec9d63aa1ae14673898350a80082f544fed0c1 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -673,6 +673,8 @@ void RenderWidgetHostImpl::WasResized() {
bool width_changed =
!old_resize_params_ ||
old_resize_params_->new_size.width() != params->new_size.width();
+
+ LOG(ERROR) << "===amp=== sending resize message, in vr = " << params->screen_info.in_vr;
if (Send(new ViewMsg_Resize(routing_id_, *params))) {
resize_ack_pending_ = params->needs_resize_ack;
old_resize_params_.swap(params);

Powered by Google App Engine
This is Rietveld 408576698