Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 1650673002: Follow on to moving wheel_event_handlers to LayerTreeView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698