Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 7d7e8f33803bae80773c0b110cc18faf1bdaa9d1..3366750a888994b097f21285872aee193465435e 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -376,6 +376,11 @@ class CONTENT_EXPORT RenderViewImpl |
// Change the device scale factor and force the compositor to resize. |
void SetDeviceScaleFactorForTesting(float factor); |
+ // Control autoresize mode. |
+ void EnableAutoResizeForTesting(const gfx::Size& min_size, |
+ const gfx::Size& max_size); |
+ void DisableAutoResizeForTesting(const gfx::Size& new_size); |
+ |
// IPC::Listener implementation ---------------------------------------------- |
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |