Index: content/renderer/devtools/devtools_agent.h |
diff --git a/content/renderer/devtools/devtools_agent.h b/content/renderer/devtools/devtools_agent.h |
index 4ac22db97f9c3095f96b23c171f451cb6358affb..f2b5d221b31dd182004719f49d5c80c7de8f1fcb 100644 |
--- a/content/renderer/devtools/devtools_agent.h |
+++ b/content/renderer/devtools/devtools_agent.h |
@@ -53,6 +53,10 @@ class DevToolsAgent : public RenderViewObserver, |
virtual void clearBrowserCookies(); |
virtual void visitAllocatedObjects(AllocatedObjectVisitor* visitor); |
virtual void setTraceEventCallback(TraceEventCallback cb); |
+ virtual void emulateDevice( |
+ bool enabled, const WebKit::WebSize& device_size, |
+ const WebKit::WebRect& view_rect, float device_scale_factor, |
+ bool fit_to_view); |
void OnAttach(); |
void OnReattach(const std::string& agent_state); |