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 1c8254da11bd52f6ae9665d3b9216f8397c62a59..14d844450e63ffd02df950e651c076cabc0d4aa2 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -768,6 +768,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 height of the visible viewport, which may be less than the view height |
+ // if the view is partially occluded (e.g. by a virtual keyboard). The height |
+ // is in DPI-adjusted pixels. |
+ int visible_viewport_height_; |
+ |
// 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 |