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 0e7b016eb28a6e473f6489ce8f3a8035cccf5f71..1ac764a243fa07aac70752cb8869206a2aae4512 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -761,6 +761,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// the browser, for example by an on-screen-keyboard (in DPI-adjusted pixels). |
float overdraw_bottom_height_; |
+ // The size of the visible viewport, which may be smaller than the view if the |
+ // view is partially occluded (e.g. by a virtual keyboard). The size is in |
+ // DPI-adjusted pixels. |
+ gfx::Size visible_viewport_size_; |
+ |
// The size we last sent as requested size to the renderer. |current_size_| |
// is only updated once the resize message has been ack'd. This on the other |
// hand is updated when the resize message is sent. This is very similar to |