Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 5e0c81da71d162a009ffe48472c3ab8b000d9564..e7eea25d4df918fcb887abbc90fab8659010a935 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -410,6 +410,9 @@ class CONTENT_EXPORT RenderWidget |
void DoDeferredClose(); |
void NotifyOnClose(); |
+ gfx::Size GetSizeForWebWidget() const; |
+ virtual void ResizeWebWidget(); |
+ |
// Close the underlying WebWidget. |
virtual void Close(); |
@@ -599,14 +602,6 @@ class CONTENT_EXPORT RenderWidget |
// The size of the view's backing surface in non-DPI-adjusted pixels. |
gfx::Size physical_backing_size_; |
- // Whether or not Blink's viewport size should be shrunk by the height of the |
- // URL-bar (always false on platforms where URL-bar hiding isn't supported). |
- bool top_controls_shrink_blink_size_; |
- |
- // The height of the top controls (always 0 on platforms where URL-bar hiding |
- // isn't supported). |
- float top_controls_height_; |
- |
// The size of the visible viewport in DPI-adjusted pixels. |
gfx::Size visible_viewport_size_; |