| Index: content/renderer/devtools/devtools_agent.cc
|
| diff --git a/content/renderer/devtools/devtools_agent.cc b/content/renderer/devtools/devtools_agent.cc
|
| index 38b4b5e470fb40df5f9d54781dc95021e7790b65..3033733ba77323853f0ea83caee770789a64c27d 100644
|
| --- a/content/renderer/devtools/devtools_agent.cc
|
| +++ b/content/renderer/devtools/devtools_agent.cc
|
| @@ -251,6 +251,13 @@ void DevToolsAgent::disableDeviceEmulation() {
|
| 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;
|
|
|