Index: trunk/src/content/renderer/devtools/devtools_agent.cc |
=================================================================== |
--- trunk/src/content/renderer/devtools/devtools_agent.cc (revision 263805) |
+++ trunk/src/content/renderer/devtools/devtools_agent.cc (working copy) |
@@ -251,6 +251,13 @@ |
impl->DisableScreenMetricsEmulation(); |
} |
+void DevToolsAgent::setTouchEventEmulationEnabled( |
+ bool enabled, bool allow_pinch) { |
+ RenderViewImpl* impl = static_cast<RenderViewImpl*>(render_view()); |
+ impl->Send(new ViewHostMsg_SetTouchEventEmulationEnabled( |
+ impl->routing_id(), enabled, allow_pinch)); |
+} |
+ |
#if defined(USE_TCMALLOC) && !defined(OS_WIN) |
static void AllocationVisitor(void* data, const void* ptr) { |
typedef blink::WebDevToolsAgentClient::AllocatedObjectVisitor Visitor; |