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

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

Issue 16048003: Fix race between DPI and window size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index c8678023dbf9240dc0e86ac1828d166e1af5880d..f2b3751df9378af54c6469a86447021d4cf42918 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -736,6 +736,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
// True when waiting for RESIZE_ACK.
bool resize_ack_pending_;
+ // Set if the screen info has changed since the last time it was sent to the
+ // renderer.
+ bool renderer_screen_info_out_of_date_;
+
// The current size of the RenderWidget.
gfx::Size current_size_;

Powered by Google App Engine
This is Rietveld 408576698