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

Unified Diff: third_party/WebKit/Source/core/input/ScrollManager.cpp

Issue 2255323004: Create MouseEventManager and EventHandlingUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 4 years, 3 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/core/input/ScrollManager.cpp
diff --git a/third_party/WebKit/Source/core/input/ScrollManager.cpp b/third_party/WebKit/Source/core/input/ScrollManager.cpp
index 33e6f466a55117bd01b7eccd00d9d9514b221e3b..4316a55a88fdd6c83df17fc73e645499553f0f70 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.cpp
+++ b/third_party/WebKit/Source/core/input/ScrollManager.cpp
@@ -11,6 +11,7 @@
#include "core/frame/TopControls.h"
#include "core/html/HTMLFrameOwnerElement.h"
#include "core/input/EventHandler.h"
+#include "core/input/EventHandlingUtil.h"
#include "core/layout/LayoutPart.h"
#include "core/loader/DocumentLoader.h"
#include "core/page/AutoscrollController.h"
@@ -32,10 +33,6 @@ ScrollManager::ScrollManager(LocalFrame* frame)
clear();
}
-ScrollManager::~ScrollManager()
-{
-}
-
void ScrollManager::clear()
{
m_lastGestureScrollOverWidget = false;
@@ -404,7 +401,7 @@ WebInputEventResult ScrollManager::handleGestureScrollEvent(const PlatformGestur
DispatchEventResult gestureDomEventResult = eventTarget->dispatchEvent(gestureDomEvent);
if (gestureDomEventResult != DispatchEventResult::NotCanceled) {
DCHECK(gestureDomEventResult != DispatchEventResult::CanceledByEventHandler);
- return EventHandler::toWebInputEventResult(gestureDomEventResult);
+ return EventHandlingUtil::toWebInputEventResult(gestureDomEventResult);
}
}
}
« no previous file with comments | « third_party/WebKit/Source/core/input/ScrollManager.h ('k') | third_party/WebKit/Source/core/input/TouchEventManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698