| Index: Source/web/InspectorClientImpl.cpp
|
| diff --git a/Source/web/InspectorClientImpl.cpp b/Source/web/InspectorClientImpl.cpp
|
| index 42521e37adb6af95f1c4bee881a0e5a87751f2bf..7c7e3bf1c3130dfc4d48abb3e15ab5e6c3a47208 100644
|
| --- a/Source/web/InspectorClientImpl.cpp
|
| +++ b/Source/web/InspectorClientImpl.cpp
|
| @@ -107,6 +107,12 @@ void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float dev
|
| agent->overrideDeviceMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow);
|
| }
|
|
|
| +void InspectorClientImpl::setTouchEventEmulationEnabled(bool enabled)
|
| +{
|
| + if (WebDevToolsAgentImpl* agent = devToolsAgent())
|
| + agent->setTouchEventEmulationEnabled(enabled);
|
| +}
|
| +
|
| bool InspectorClientImpl::overridesShowPaintRects()
|
| {
|
| return m_inspectedWebView->isAcceleratedCompositingActive();
|
|
|