Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index d88519061578b5fcbaea746467bdb209f58128e7..5f3e16501fc47bca33b41b18aa8a3658fdffac38 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -412,6 +412,8 @@ class CONTENT_EXPORT RenderWidget |
void DoDeferredClose(); |
void NotifyOnClose(); |
+ virtual void ResizeWebWidget(const gfx::Size& new_size, bool resized); |
+ |
// Close the underlying WebWidget. |
virtual void Close(); |
@@ -605,14 +607,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_; |
@@ -767,10 +761,10 @@ class CONTENT_EXPORT RenderWidget |
scoped_ptr<scheduler::RenderWidgetSchedulingState> |
render_widget_scheduling_state_; |
- private: |
// When emulated, this returns original device scale factor. |
float GetOriginalDeviceScaleFactor() const; |
+ private: |
DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
}; |