Index: content/renderer/devtools/devtools_agent.h |
=================================================================== |
--- content/renderer/devtools/devtools_agent.h (revision 221161) |
+++ content/renderer/devtools/devtools_agent.h (working copy) |
@@ -53,6 +53,10 @@ |
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); |