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

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

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase 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
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 815cc54f36166a0e7025a8c445f87669aa65e480..61cb67200873d646be107de6cf3e629ed5263d6c 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -181,6 +181,19 @@ private:
return false;
}
+ void setHaveScrollEventHandlers(bool hasEventHandlers) override
+ {
+ if (m_popup->m_layerTreeView)
+ m_popup->m_layerTreeView->setHaveScrollEventHandlers(hasEventHandlers);
+ }
+
+ bool haveScrollEventHandlers() const override
+ {
+ if (m_popup->m_layerTreeView)
+ return m_popup->m_layerTreeView->haveScrollEventHandlers();
+ return false;
+ }
+
void setTouchAction(TouchAction touchAction) override
{
if (WebViewClient* client = m_popup->m_webView->client())
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698