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

Unified Diff: trunk/src/content/renderer/render_widget.h

Issue 16326004: Revert 204014 "Don't track whether a resize ack is pending durin..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/content/renderer/render_widget.h
===================================================================
--- trunk/src/content/renderer/render_widget.h (revision 204037)
+++ trunk/src/content/renderer/render_widget.h (working copy)
@@ -534,6 +534,12 @@
// The size of the RenderWidget.
gfx::Size size_;
+ // When short-circuiting size updates, the browser might not know about the
+ // current size of the RenderWidget. To be able to correctly predict when the
+ // browser expects a resize ack, keep track of the size the browser thinks
+ // this RenderWidget should have.
+ gfx::Size size_browser_expects_;
+
// The TransportDIB that is being used to transfer an image to the browser.
TransportDIB* current_paint_buf_;
« no previous file with comments | « trunk/src/content/browser/renderer_host/render_widget_host_impl.cc ('k') | trunk/src/content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698