Index: content/port/browser/render_widget_host_view_port.h |
=================================================================== |
--- content/port/browser/render_widget_host_view_port.h (revision 221161) |
+++ content/port/browser/render_widget_host_view_port.h (working copy) |
@@ -253,6 +253,10 @@ |
// Gets the bounds of the window, in screen coordinates. |
virtual gfx::Rect GetBoundsInRootWindow() = 0; |
+ // When device emulation is requested, renderer may supply image of the |
+ // different size, and view should accept it. |
+ virtual void EmulateDevice(bool enabled) = 0; |
+ |
virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; |
// Because the associated remote WebKit instance can asynchronously |