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

Unified Diff: sky/engine/core/frame/EventHandlerRegistry.cpp

Issue 682363002: Remove more scrolling methods from FrameView. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | sky/engine/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/EventHandlerRegistry.cpp
diff --git a/sky/engine/core/frame/EventHandlerRegistry.cpp b/sky/engine/core/frame/EventHandlerRegistry.cpp
index 89c94b79b9e71ac7399c671be8b544a08546993c..21a57cb16ee120f0a2ba120ad608d641d7c3cf12 100644
--- a/sky/engine/core/frame/EventHandlerRegistry.cpp
+++ b/sky/engine/core/frame/EventHandlerRegistry.cpp
@@ -164,17 +164,7 @@ void EventHandlerRegistry::didRemoveAllEventHandlers(EventTarget& target)
void EventHandlerRegistry::notifyHasHandlersChanged(EventHandlerClass handlerClass, bool hasActiveHandlers)
{
- ScrollingCoordinator* scrollingCoordinator = m_frameHost.page().scrollingCoordinator();
-
switch (handlerClass) {
- case ScrollEvent:
- if (scrollingCoordinator)
- scrollingCoordinator->updateHaveScrollEventHandlers();
- break;
- case WheelEvent:
- if (scrollingCoordinator)
- scrollingCoordinator->updateHaveWheelEventHandlers();
- break;
case TouchEvent:
m_frameHost.chrome().client().needTouchEvents(hasActiveHandlers);
break;
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698