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 53185bc87dde5f7ee47ad4e7138881ca9ee81fb3..d26a67fe3ecb4524d3009f0954fdc5b75d2a8f0e 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -533,6 +533,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// renderer. |
void ProcessTouchAck(WebKit::WebInputEvent::Type type, bool processed); |
+ // Called when there is a new auto resize (using a post to avoid a stack |
+ // which may get in recursive loops). |
+ void DelayedAutoResized(); |
+ |
// Created during construction but initialized during Init*(). Therefore, it |
// is guaranteed never to be NULL, but its channel may be NULL if the |
// renderer crashed, so you must always check that. |
@@ -579,6 +583,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// or height zero, which is why we need this too. |
gfx::Size in_flight_size_; |
+ // The next auto resize to send. |
+ gfx::Size new_auto_size_; |
+ |
// True if the render widget host should track the render widget's size as |
// opposed to visa versa. |
bool should_auto_resize_; |