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..9ea4e5b55eb83eda3cf901c2b72161d4793ec998 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 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::SizeF visible_viewport_size_; |
sky
2014/04/24 15:55:09
Same comment about floating point.
kevers
2014/04/24 18:38:33
Done.
|
+ |
// 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 |