Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
index f457c23b7988b342cada4aa4be3216dc301b4cd1..815cc54f36166a0e7025a8c445f87669aa65e480 100644 |
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
@@ -168,6 +168,25 @@ private: |
m_popup->widgetClient()->hasTouchEventHandlers(needsTouchEvents); |
} |
+ void setHaveWheelEventHandlers(bool haveEventHandlers) override |
+ { |
+ if (m_popup->m_layerTreeView) |
+ return m_popup->m_layerTreeView->setHaveWheelEventHandlers(haveEventHandlers); |
+ } |
+ |
+ bool haveWheelEventHandlers() const override |
+ { |
+ if (m_popup->m_layerTreeView) |
+ return m_popup->m_layerTreeView->haveWheelEventHandlers(); |
+ return false; |
+ } |
+ |
+ void setTouchAction(TouchAction touchAction) override |
+ { |
+ if (WebViewClient* client = m_popup->m_webView->client()) |
+ client->setTouchAction(static_cast<WebTouchAction>(touchAction)); |
+ } |
+ |
GraphicsLayerFactory* graphicsLayerFactory() const override |
{ |
return m_popup->m_webView->graphicsLayerFactory(); |